mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
Merge madwifi-dfs to trunk : r3121
When hardware queue is full, stop the linux device queue. This fix a bug where CPU was 100% in softirq context git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3122 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
7fd69f6877
commit
b4d7a14f0a
@ -3032,6 +3032,7 @@ ath_hardstart(struct sk_buff *skb, struct net_device *dev)
|
||||
if (txq->axq_depth > TAIL_DROP_COUNT) {
|
||||
sc->sc_stats.ast_tx_discard++;
|
||||
/* queue is full, let the kernel backlog the skb */
|
||||
netif_stop_queue(dev);
|
||||
requeue = 1;
|
||||
goto hardstart_fail;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user