diff options
author | 2011-04-29 14:48:45 +0530 | |
---|---|---|
committer | 2011-05-05 14:59:04 -0400 | |
commit | 470ab2a23b453518ac86937572b4531d8925ca55 (patch) | |
tree | c8c1fb3a5575c9d52584af59be5bb9fc36bdc44f /net/mac80211 | |
parent | ath9k: Fix drain txq failure in flush (diff) | |
download | linux-470ab2a23b453518ac86937572b4531d8925ca55.tar.gz linux-470ab2a23b453518ac86937572b4531d8925ca55.tar.bz2 linux-470ab2a23b453518ac86937572b4531d8925ca55.zip |
mac80211: use wake_queue to restart trasmit
netif_tx_start_all_queues is used to allow the upper layer
to transmit frames but it does not restart transmission.
To restart the trasmission use netif_tx_wake_all_queues.
Not doing so, sometimes stalls the transmission and the
application has to be restarted to proceed further.
This issue was originally found while sending udp traffic
in higer bandwidth in open environment without bgscan.
Cc: stable@kernel.org
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/mlme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index a41f234bd486..8d752b4d72ce 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -781,7 +781,7 @@ void ieee80211_dynamic_ps_enable_work(struct work_struct *work) ieee80211_hw_config(local, IEEE80211_CONF_CHANGE_PS); } - netif_tx_start_all_queues(sdata->dev); + netif_tx_wake_all_queues(sdata->dev); } void ieee80211_dynamic_ps_timer(unsigned long data) |