]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: check csa wiphy flag in ibss before switching
authorSimon Wunderlich <sw@simonwunderlich.de>
Tue, 26 Nov 2013 15:45:18 +0000 (16:45 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 2 Dec 2013 10:54:13 +0000 (11:54 +0100)
commitaa87689bf82465d5ae6755982d41ace6b9da821f
treef5ace0c4cfe57da6d5f8b14af33b84ddcf23dd8c
parent8e7d354be31433890c23eaf24001356dbd33f5cb
mac80211: check csa wiphy flag in ibss before switching

When external CSA IEs are received (beacons or action messages), a
channel switch is triggered as well. This should only be allowed on
devices which actually support channel switches, otherwise disconnect.
(For the corresponding userspace invocation, the wiphy flag is checked
in nl80211).

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c