]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
ath9k: Failed to set default beacon rssi in AP/IBSS mode
authorRajkumar Manoharan <rmanoharan@atheros.com>
Mon, 9 May 2011 13:41:29 +0000 (19:11 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 May 2011 19:54:53 +0000 (15:54 -0400)
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>
drivers/net/wireless/ath/ath9k/main.c

index 11d9eca8fb6e7e7a5d4b69d7e9219286411ebbff..c4d32c54224df3b98cbad2caafb835527e75f108 100644 (file)
@@ -1409,6 +1409,7 @@ static void ath9k_calculate_summary_state(struct ieee80211_hw *hw,
 
        /* Set up ANI */
        if ((iter_data.naps + iter_data.nadhocs) > 0) {
+               sc->sc_ah->stats.avgbrssi = ATH_RSSI_DUMMY_MARKER;
                sc->sc_flags |= SC_OP_ANI_RUN;
                ath_start_ani(common);
        } else {