mac80211: TDLS: handle chan-switch in RTNL locked work
authorArik Nemtsov <arik@wizery.com>
Wed, 8 Jul 2015 12:41:45 +0000 (15:41 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:40:15 +0000 (15:40 +0200)
commitc8ff71e667d9fcf775e8b8bbd568d32d48cfb864
tree0b2815a3d230575c1ce9dcf6419119124d30993f
parent72bbe3d1c2d7a9e257956912040ffc7ba9f71e0d
mac80211: TDLS: handle chan-switch in RTNL locked work

Move TDLS channel-switch Rx handling into an RTNL locked work. This is
required to add proper regulatory checking to incoming channel-switch
requests.
Queue incoming requests in a dedicated skb queue and handle the request
in a device-specific work to avoid deadlocking on interface removal.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/rx.c
net/mac80211/tdls.c