]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
beceem: do classification even if device is offline
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 1 Nov 2010 16:28:39 +0000 (12:28 -0400)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 1 Nov 2010 16:37:52 +0000 (12:37 -0400)
Since classification and queue control are separate, allow
classification even if device is down now; this avoids races
on startup/shutdown.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
drivers/staging/bcm/Qos.c

index 54e9a490e6f9981a59b45f35d96eea320c614637..e4d5a67c8c6b1bf507754d79101e3a47f07813a3 100644 (file)
@@ -524,12 +524,6 @@ USHORT ClassifyPacket(PMINI_ADAPTER Adapter,struct sk_buff* skb)
 
        for(uiLoopIndex = MAX_CLASSIFIERS - 1; uiLoopIndex >= 0; uiLoopIndex--)
        {
-               if (Adapter->device_removed)
-               {
-                       bClassificationSucceed = FALSE;
-                       break;
-               }
-
                if(bClassificationSucceed)
                        break;
                //Iterate through all classifiers which are already in order of priority