mac80211: update to linux 6.1-rc8
[openwrt/staging/wigyori.git] / package / kernel / mac80211 / patches / subsys / 110-mac80211_keep_keys_on_stop_ap.patch
index 397026b80b22c478c768ed639ab24bdb97c7561b..4dd26da2ec784f28e829f3241d58b1735f887c66 100644 (file)
@@ -9,11 +9,11 @@ Used for AP+STA support in OpenWrt - preserve AP mode keys across STA reconnect
 
 --- a/net/mac80211/cfg.c
 +++ b/net/mac80211/cfg.c
-@@ -1319,7 +1319,6 @@ static int ieee80211_stop_ap(struct wiph
-       sdata->vif.bss_conf.ftmr_params = NULL;
+@@ -1512,7 +1512,6 @@ static int ieee80211_stop_ap(struct wiph
+       link_conf->ftmr_params = NULL;
  
        __sta_info_flush(sdata, true);
 -      ieee80211_free_keys(sdata, true);
  
-       sdata->vif.bss_conf.enable_beacon = false;
+       link_conf->enable_beacon = false;
        sdata->beacon_rate_set = false;