nl80211: make sure we check for DFS with mesh channel switch
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 20 Feb 2014 14:36:20 +0000 (16:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 21 Feb 2014 08:31:19 +0000 (09:31 +0100)
commite5d2f954714bccd4a87e042720ae8e85f9a0aada
tree4c08defedfee1b6cb3e7c78f94b61ae187dd8c42
parent30f55dc171a32d60e3753c9e0a3cf33a4d6c4610
nl80211: make sure we check for DFS with mesh channel switch

Since mesh support for DFS channels was added, we also need to check
for DFS channels when performing a channel switch with
NL80211_IFTYPE_MESHPOINT.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
[use switch statement, slight code cleanup]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c