Message ID | iwlwifi.20210409123755.ef6c8e3dfaa6.I465afb55ca2c7d59f7bf610c6046a1fd732b4c28@changeid |
---|---|
State | New |
Headers | show |
Series | cfg80211/mac80211 patches from our internal tree 2021-04-09 | expand |
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 9b85adbf2cc2..792a92feeaeb 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -1295,6 +1295,11 @@ static void ieee80211_chswitch_post_beacon(struct ieee80211_sub_if_data *sdata) sdata->vif.csa_active = false; ifmgd->csa_waiting_bcn = false; + /* + * If the CSA IE is still present on the beacon after the switch, + * we need to consider it as a new CSA (possibly to self). + */ + ifmgd->beacon_crc_valid = false; ret = drv_post_channel_switch(sdata); if (ret) {