summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2015-03-01 09:10:09 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-03-04 10:34:10 +0100
commitae2e9fba85f69e0b53b1ef15e3011ce09ac1b9f2 (patch)
treee2ba955bb3a1ff3fc6fa88423535201d2f07b168 /net/mac80211/mlme.c
parent23e370989c3fe6b9b2062d9d511feda800434de3 (diff)
downloadlinux-ae2e9fba85f69e0b53b1ef15e3011ce09ac1b9f2.tar.bz2
mac80211: allow TDLS setup code to take wdev lock
TDLS off-channel can be allowed in channels marked with GO_CONCURRENT, provided the device is connected to an AP on the same UNII. When relaxing the NO-IR requirements for TDLS, we might hit flows in cfg80211_reg_can_beacon that acquire the wdev lock. Take some measures to allow this during TDLS setup. Acquire the RCU read lock later in the flow that invokes cfg80211_reg_can_beacon. Avoid taking local->mtx when preparing the setup packet to avoid circular deadlocks with mac80211 code that is invoked with wdev-mtx held. 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>
Diffstat (limited to 'net/mac80211/mlme.c')
0 files changed, 0 insertions, 0 deletions