aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanoharan@atheros.com>2011-05-09 09:41:29 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-05-10 15:54:53 -0400
commit729da390034d04ff1b3a3f188dfb04a54f458e35 (patch)
treeaa34f77910aad756beca588874f6df198afc19dc /drivers/net
parent2b892a98db269b96ed097d560aaaa371907d20f5 (diff)
ath9k: Failed to set default beacon rssi in AP/IBSS mode
This beacon rssi will be used to set noisefloor during ani reset. Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 11d9eca8fb6e..c4d32c54224d 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1409,6 +1409,7 @@ static void ath9k_calculate_summary_state(struct ieee80211_hw *hw,
1409 1409
1410 /* Set up ANI */ 1410 /* Set up ANI */
1411 if ((iter_data.naps + iter_data.nadhocs) > 0) { 1411 if ((iter_data.naps + iter_data.nadhocs) > 0) {
1412 sc->sc_ah->stats.avgbrssi = ATH_RSSI_DUMMY_MARKER;
1412 sc->sc_flags |= SC_OP_ANI_RUN; 1413 sc->sc_flags |= SC_OP_ANI_RUN;
1413 ath_start_ani(common); 1414 ath_start_ani(common);
1414 } else { 1415 } else {