]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: move setting WIPHY_FLAG_SUPPORTS_SCHED_SCAN into drivers
authorJohannes Berg <johannes.berg@intel.com>
Wed, 21 Aug 2013 09:24:01 +0000 (11:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Aug 2013 10:02:26 +0000 (12:02 +0200)
commitada406f9f7404c95ff14c2bc1d8e663f37d2a68f
tree64eab50157e6e53ee467d8685576f51294e76a66
parent681f280017e39a333024cc9f76529286c2284dc9
mac80211: move setting WIPHY_FLAG_SUPPORTS_SCHED_SCAN into drivers

mac80211 currently sets WIPHY_FLAG_SUPPORTS_SCHED_SCAN based on whether
the start_sched_scan operation is supported or not, but that will not
be correct for all drivers, we're adding scheduled scan to the iwlmvm
driver but it depends on firmware support.

Therefore, move setting WIPHY_FLAG_SUPPORTS_SCHED_SCAN into the drivers
so that they can control it regardless of implementing the operation.

This currently only affects the TI drivers since they're the only ones
implementing scheduled scan (in a mac80211 driver.)

Acked-by: Luciano Coelho <luca@coelho.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ti/wlcore/main.c
net/mac80211/main.c