From b4d7a14f0acd8834444c29f83647375544ae2bd0 Mon Sep 17 00:00:00 2001 From: benoit Date: Tue, 8 Jan 2008 15:59:33 +0000 Subject: [PATCH] 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 --- ath/if_ath.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ath/if_ath.c b/ath/if_ath.c index b988249..357234e 100644 --- a/ath/if_ath.c +++ b/ath/if_ath.c @@ -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; } -- 2.35.1