--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
-@@ -1512,7 +1512,6 @@ static int ieee80211_stop_ap(struct wiph
- link_conf->ftmr_params = NULL;
+@@ -1635,7 +1635,6 @@ static int ieee80211_stop_ap(struct wiph
+ link_conf->bssid_indicator = 0;
__sta_info_flush(sdata, true);
- ieee80211_free_keys(sdata, true);