diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-03-29 06:37:17 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-31 14:46:40 -0400 |
commit | 7757dfed5809b03aa61c7d7f5ff8092f85df8583 (patch) | |
tree | ae855421010956814bca1917dc6e1fb42c3c19ac /drivers/net/wireless/ath/ath9k/htc_drv_init.c | |
parent | 6335ed0ff8670e6378da41191ab8bda33d1b7ac8 (diff) |
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 10c87605d2c4..3206eb06497d 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) | |||
449 | 449 | ||
450 | spin_lock_init(&priv->wmi->wmi_lock); | 450 | spin_lock_init(&priv->wmi->wmi_lock); |
451 | spin_lock_init(&priv->beacon_lock); | 451 | spin_lock_init(&priv->beacon_lock); |
452 | spin_lock_init(&priv->tx_lock); | ||
452 | mutex_init(&priv->mutex); | 453 | mutex_init(&priv->mutex); |
453 | mutex_init(&priv->aggr_work.mutex); | 454 | mutex_init(&priv->aggr_work.mutex); |
454 | tasklet_init(&priv->wmi_tasklet, ath9k_wmi_tasklet, | 455 | tasklet_init(&priv->wmi_tasklet, ath9k_wmi_tasklet, |