diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-01 16:28:39 (GMT) |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-01 16:37:52 (GMT) |
commit | b5ebd85b2bcc0c0a2171e4cc74c61debdc903ddf (patch) | |
tree | e70755a2d5278132bb4deb35e9f614913ae3f256 /drivers/staging/bcm/Qos.c | |
parent | 429a5908fe3bc4d9ca2512b94cd10b69d50bf91f (diff) | |
download | linux-fsl-qoriq-b5ebd85b2bcc0c0a2171e4cc74c61debdc903ddf.tar.xz |
beceem: do classification even if device is offline
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>
Diffstat (limited to 'drivers/staging/bcm/Qos.c')
-rw-r--r-- | drivers/staging/bcm/Qos.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/bcm/Qos.c b/drivers/staging/bcm/Qos.c index 54e9a49..e4d5a67 100644 --- a/drivers/staging/bcm/Qos.c +++ b/drivers/staging/bcm/Qos.c @@ -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 |