]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: TDLS: deny ch-switch req on disallowed channels
authorArik Nemtsov <arik@wizery.com>
Wed, 8 Jul 2015 12:41:46 +0000 (15:41 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:40:35 +0000 (15:40 +0200)
commitb110ec538f7836b9a49f22d6dac6c2f10be58199
treedd6bd5359724b5ccd575eddf3ca7b1d4dc59f75f
parent2bc434dcd61f15c85a85a240049c27cf5e2cb958
mac80211: TDLS: deny ch-switch req on disallowed channels

If a TDLS station is not allowed to beacon on a channel, don't accept
a channel switch request to this channel.
Move channel building code up to avoid lockdep violations - reg_can_beacon
needs to take the wdev lock.

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/tdls.c