diff options
author | 2010-11-01 12:28:39 -0400 | |
---|---|---|
committer | 2010-11-01 12:37:52 -0400 | |
commit | b5ebd85b2bcc0c0a2171e4cc74c61debdc903ddf (patch) | |
tree | e70755a2d5278132bb4deb35e9f614913ae3f256 /drivers/staging/bcm | |
parent | beceem: off by one on queue index (diff) | |
download | linux-b5ebd85b2bcc0c0a2171e4cc74c61debdc903ddf.tar.gz linux-b5ebd85b2bcc0c0a2171e4cc74c61debdc903ddf.tar.bz2 linux-b5ebd85b2bcc0c0a2171e4cc74c61debdc903ddf.zip |
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')
-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 54e9a490e6f9..e4d5a67c8c6b 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 |