ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / package / kernel / mac80211 / patches / subsys / 110-mac80211_keep_keys_on_stop_ap.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Mon, 27 Oct 2014 00:00:00 +0100
3 Subject: [PATCH] mac80211: preseve AP mode keys across STA reconnect
4
5 Used for AP+STA support in OpenWrt - preserve AP mode keys across STA reconnect
6 ---
7 net/mac80211/cfg.c | 1 -
8 1 file changed, 1 deletion(-)
9
10 --- a/net/mac80211/cfg.c
11 +++ b/net/mac80211/cfg.c
12 @@ -1632,7 +1632,6 @@ static int ieee80211_stop_ap(struct wiph
13 link_conf->bssid_indicator = 0;
14
15 __sta_info_flush(sdata, true);
16 - ieee80211_free_keys(sdata, true);
17
18 link_conf->enable_beacon = false;
19 sdata->beacon_rate_set = false;