]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
mac80211: flush keys when stopping AP
authorJohannes Berg <johannes.berg@intel.com>
Sat, 23 Feb 2013 00:14:20 +0000 (01:14 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:36:00 +0000 (16:36 +0100)
commit7b4396bd6868f3d665c5f4cb53a9bdde5a2f4bf2
tree432237208275a9a36b5a0caede4e0996cdb1c48e
parent8d1f7ecd2af55c0c82ffd2bff0ef0b26f16ea69f
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>
net/mac80211/cfg.c
net/mac80211/iface.c