mac80211: remove IEEE80211_HW_SCAN_WHILE_IDLE
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Feb 2013 22:57:57 +0000 (23:57 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Feb 2013 17:45:01 +0000 (18:45 +0100)
commitf1e3e0515646dd0f4c783c1c39839d2706501344
tree99705c7a8991863624415ac96fdf27f773fbc224
parent09b85568c142fc1c776dea86a24fcb05f0eeb48b
mac80211: remove IEEE80211_HW_SCAN_WHILE_IDLE

There are only a few drivers that use HW scan, and
all of those don't need a non-idle transition before
starting the scan -- some don't even care about idle
at all. Remove the flag and code associated with it.

The only driver that really actually needed this is
wl1251 and it can just do it itself in the hw_scan
callback -- implement that.

Acked-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/ti/wl1251/event.c
drivers/net/wireless/ti/wl1251/main.c
drivers/net/wireless/ti/wlcore/main.c
include/net/mac80211.h
net/mac80211/debugfs.c
net/mac80211/iface.c
net/mac80211/main.c