]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bc434dcd61f15c85a85a240049c27cf5e2cb958
tree0b2815a3d230575c1ce9dcf6419119124d30993f
parent4538cdbe84a00593a33e5eb1cef7c3ee6012f42a
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