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 7d53382f1a5b..75510a9f3f1d 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -2595,7 +2595,7 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata,
2595 rx_status->band); 2595 rx_status->band);
2596 2596
2597 prev_rates = sta->supp_rates[rx_status->band]; 2597 prev_rates = sta->supp_rates[rx_status->band];
2598 sta->supp_rates[rx_status->band] &= supp_rates; 2598 sta->supp_rates[rx_status->band] = supp_rates;
2599 if (sta->supp_rates[rx_status->band] == 0) { 2599 if (sta->supp_rates[rx_status->band] == 0) {
2600 /* No matching rates - this should not really happen. 2600 /* No matching rates - this should not really happen.
2601 * Make sure that at least one rate is marked 2601 * Make sure that at least one rate is marked