commit | 42d8d789615d539cb13733e516b94e874a34f775 | [log] [tgz] |
---|---|---|
author | Arik Nemtsov <arik@wizery.com> | Wed Jul 08 15:41:46 2015 +0300 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Jul 17 15:40:35 2015 +0200 |
tree | dd6bd5359724b5ccd575eddf3ca7b1d4dc59f75f | |
parent | c8ff71e667d9fcf775e8b8bbd568d32d48cfb864 [diff] |
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>