Explorar o código

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>
Rajkumar Manoharan %!s(int64=14) %!d(string=hai) anos
pai
achega
729da39003
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/net/wireless/ath/ath9k/main.c

+ 1 - 0
drivers/net/wireless/ath/ath9k/main.c

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