diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-06-01 05:44:19 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-03 14:14:41 -0400 |
commit | 764580f577a46adce6ad6717a9b34aa8e3a09159 (patch) | |
tree | 445e3a863c4d3fe2e27df5578ab54a23e9155e4e /drivers/net/wireless/ath/ath9k/htc_drv_main.c | |
parent | 21d5130b8cb8e19a3e69e704aa29d918624fce49 (diff) |
ath9k_htc: Fix fair beacon distribution
This patch fixes beacon distribution in IBSS mode
by configuring the hardware beacon queue properly.
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_main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_main.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c index 6bc05fe9be8c..e776dee6f074 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c | |||
@@ -1574,9 +1574,15 @@ static int ath9k_htc_conf_tx(struct ieee80211_hw *hw, u16 queue, | |||
1574 | params->cw_max, params->txop); | 1574 | params->cw_max, params->txop); |
1575 | 1575 | ||
1576 | ret = ath_htc_txq_update(priv, qnum, &qi); | 1576 | ret = ath_htc_txq_update(priv, qnum, &qi); |
1577 | if (ret) | 1577 | if (ret) { |
1578 | ath_print(common, ATH_DBG_FATAL, "TXQ Update failed\n"); | 1578 | ath_print(common, ATH_DBG_FATAL, "TXQ Update failed\n"); |
1579 | goto out; | ||
1580 | } | ||
1579 | 1581 | ||
1582 | if ((priv->ah->opmode == NL80211_IFTYPE_ADHOC) && | ||
1583 | (qnum == priv->hwq_map[ATH9K_WME_AC_BE])) | ||
1584 | ath9k_htc_beaconq_config(priv); | ||
1585 | out: | ||
1580 | ath9k_htc_ps_restore(priv); | 1586 | ath9k_htc_ps_restore(priv); |
1581 | mutex_unlock(&priv->mutex); | 1587 | mutex_unlock(&priv->mutex); |
1582 | 1588 | ||