diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2016-03-22 12:09:56 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-04-06 21:43:16 +0300 |
commit | d9f5725fb00b87f99d6fc876d27f7d54ab351669 (patch) | |
tree | b0887246c14f85fd486bdf9a06e5dd57b1406877 /drivers/net/wireless/marvell/mwifiex/cfg80211.c | |
parent | 3d43e031840057f9609da3c546787f05cd6c5518 (diff) | |
download | lwn-d9f5725fb00b87f99d6fc876d27f7d54ab351669.tar.gz lwn-d9f5725fb00b87f99d6fc876d27f7d54ab351669.zip |
mwifiex: advertise low priority scan feature
Low priority scan handling code which delays or aborts scan
operation based on Tx traffic is removed recently. The reason
is firmware already takes care of it in our new feature scan
channel gap. Hence we should advertise low priority scan
support to cfg80211.
This patch fixes a problem in which OBSS scan request from
wpa_supplicant was being rejected by cfg80211.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Wei-Ning Huang <wnhuang@chromium.org>
Tested-by: Wei-Ning Huang <wnhuang@chromium.org>
Acked-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/cfg80211.c')
-rw-r--r-- | drivers/net/wireless/marvell/mwifiex/cfg80211.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c index b0663bdea5b5..108e64137826 100644 --- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c +++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c @@ -4092,6 +4092,7 @@ int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter) wiphy->features |= NL80211_FEATURE_HT_IBSS | NL80211_FEATURE_INACTIVITY_TIMER | + NL80211_FEATURE_LOW_PRIORITY_SCAN | NL80211_FEATURE_NEED_OBSS_SCAN; if (ISSUPP_TDLS_ENABLED(adapter->fw_cap_info)) |