mac80211: Update to version 5.4-rc2
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / subsys / 110-mac80211_keep_keys_on_stop_ap.patch
1 Used for AP+STA support in OpenWrt - preserve AP mode keys across STA reconnects
2
3 --- a/net/mac80211/cfg.c
4 +++ b/net/mac80211/cfg.c
5 @@ -1172,7 +1172,6 @@ static int ieee80211_stop_ap(struct wiph
6 sdata->vif.bss_conf.ftmr_params = NULL;
7
8 __sta_info_flush(sdata, true);
9 - ieee80211_free_keys(sdata, true);
10
11 sdata->vif.bss_conf.enable_beacon = false;
12 sdata->vif.bss_conf.ssid_len = 0;