summaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/subsys/110-mac80211_keep_keys_on_stop_ap.patch
blob: 4dd26da2ec784f28e829f3241d58b1735f887c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Felix Fietkau <nbd@nbd.name>
Date: Mon, 27 Oct 2014 00:00:00 +0100
Subject: [PATCH] mac80211: preseve AP mode keys across STA reconnect

Used for AP+STA support in OpenWrt - preserve AP mode keys across STA reconnect
---
 net/mac80211/cfg.c | 1 -
 1 file changed, 1 deletion(-)

--- 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;
 
 	__sta_info_flush(sdata, true);
-	ieee80211_free_keys(sdata, true);
 
 	link_conf->enable_beacon = false;
 	sdata->beacon_rate_set = false;