]> 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)
commit82319f1711ee5f0aa1c77a09686263f8532c8556
treef5ace0c4cfe57da6d5f8b14af33b84ddcf23dd8c
parent568ef962a5736f6be1fa824d94f39eeaecdfd742
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