summaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorDmitry TARNYAGIN <dmitry.tarnyagin@stericsson.com>2011-12-12 12:58:43 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-12-13 21:34:08 +0100
commitcd6c524e9e0b5ad8ce52bc3b4a3a1e272e3a8410 (patch)
treecae48d775941457913adf1547b729ffad8868f43 /net/mac80211/util.c
parentrtlwifi: merge ips,lps spinlocks into one mutex (diff)
downloadlinux-cd6c524e9e0b5ad8ce52bc3b4a3a1e272e3a8410.tar.xz
linux-cd6c524e9e0b5ad8ce52bc3b4a3a1e272e3a8410.zip
mac80211: Do not request FIF_BCN_PRBRESP_PROMISC for HW scan.
ieee80211_configure_filter code used local->scanning as a boolean value when it was a bit mask. Bits SCAN_COMPLETED, SCAN_ABORTED should not set FIF_BCN_PRBRESP_PROMISC filter. SCAN_HW_SCANNING should not set FIF_BCN_PRBRESP_PROMISC either, as there is no explicit filter configuration request from scan code. If a driver requires FIF_BCN_PRBRESP_PROMISC mode during HW scanning, it's up to the driver to temporary enable it. Similar mistake was fixed also in ieee80211_hw_config (power configuration code). Verified-by: Vitaly Wool <vitaly.wool@sonyericsson.com> Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/util.c')
0 files changed, 0 insertions, 0 deletions