aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/mac80211/mlme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index c8694478cde2..7915726d791e 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -1553,7 +1553,7 @@ static void ieee80211_rx_mgmt_beacon(struct ieee80211_sub_if_data *sdata,
1553 ifmgd->last_beacon_signal = rx_status->signal; 1553 ifmgd->last_beacon_signal = rx_status->signal;
1554 if (ifmgd->flags & IEEE80211_STA_RESET_SIGNAL_AVE) { 1554 if (ifmgd->flags & IEEE80211_STA_RESET_SIGNAL_AVE) {
1555 ifmgd->flags &= ~IEEE80211_STA_RESET_SIGNAL_AVE; 1555 ifmgd->flags &= ~IEEE80211_STA_RESET_SIGNAL_AVE;
1556 ifmgd->ave_beacon_signal = rx_status->signal; 1556 ifmgd->ave_beacon_signal = rx_status->signal * 16;
1557 ifmgd->last_cqm_event_signal = 0; 1557 ifmgd->last_cqm_event_signal = 0;
1558 } else { 1558 } else {
1559 ifmgd->ave_beacon_signal = 1559 ifmgd->ave_beacon_signal =