Skip to content
Commit cd6c524e authored by Dmitry TARNYAGIN's avatar Dmitry TARNYAGIN Committed by John W. Linville
Browse files

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: default avatarVitaly Wool <vitaly.wool@sonyericsson.com>
Signed-off-by: default avatarDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 6539306b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment