summaryrefslogtreecommitdiff
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-02-23 00:14:20 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2013-03-06 15:36:00 (GMT)
commit7b4396bd6868f3d665c5f4cb53a9bdde5a2f4bf2 (patch)
tree432237208275a9a36b5a0caede4e0996cdb1c48e /net/mac80211/iface.c
parent8d1f7ecd2af55c0c82ffd2bff0ef0b26f16ea69f (diff)
downloadlinux-fsl-qoriq-7b4396bd6868f3d665c5f4cb53a9bdde5a2f4bf2.tar.xz
mac80211: flush keys when stopping AP
Since hostapd will remove keys this isn't usually an issue, but we shouldn't leak keys to the next BSS started on the same interface. For VLANs this also fixes a bug, keys that aren't removed would otherwise be leaked. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 8e0bf34..290de4d 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -840,7 +840,7 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata,
/*
* Free all remaining keys, there shouldn't be any,
- * except maybe group keys in AP more or WDS?
+ * except maybe in WDS mode?
*/
ieee80211_free_keys(sdata);