diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-03-29 10:37:17 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-31 18:46:40 (GMT) |
commit | 7757dfed5809b03aa61c7d7f5ff8092f85df8583 (patch) | |
tree | ae855421010956814bca1917dc6e1fb42c3c19ac /drivers/net/wireless/ath/ath9k/htc_drv_init.c | |
parent | 6335ed0ff8670e6378da41191ab8bda33d1b7ac8 (diff) | |
download | linux-fsl-qoriq-7757dfed5809b03aa61c7d7f5ff8092f85df8583.tar.xz |
ath9k_htc: Handle TX queue overflow
Stop/restart TX queues when the internal SKB
queue is full. This helps handle TX better
under heavy load.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c index 10c8760..3206eb0 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c @@ -449,6 +449,7 @@ static int ath9k_init_priv(struct ath9k_htc_priv *priv, u16 devid) spin_lock_init(&priv->wmi->wmi_lock); spin_lock_init(&priv->beacon_lock); + spin_lock_init(&priv->tx_lock); mutex_init(&priv->mutex); mutex_init(&priv->aggr_work.mutex); tasklet_init(&priv->wmi_tasklet, ath9k_wmi_tasklet, |