aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/sme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-06-04 09:21:40 (GMT)
committerJouni Malinen <j@w1.fi>2014-06-21 21:47:06 (GMT)
commit57a8f8af3843c87ae789bc53c8f8543869751fd9 (patch)
tree660cebdd107b6a67bc0fe36a98ac0c119a70dd6b /wpa_supplicant/sme.c
parent31424fa732d6916d5725dfcc3037d47e7e8f1292 (diff)
downloadhostap-57a8f8af3843c87ae789bc53c8f8543869751fd9.zip
hostap-57a8f8af3843c87ae789bc53c8f8543869751fd9.tar.gz
hostap-57a8f8af3843c87ae789bc53c8f8543869751fd9.tar.bz2
nl80211: Use low-priority scan for OBSS scan
Some drivers may support low-priority scans, if they do then use that for OBSS scanning. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/sme.c')
-rw-r--r--wpa_supplicant/sme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index 81a1ede..1b04398 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -1167,6 +1167,7 @@ static void sme_obss_scan_timeout(void *eloop_ctx, void *timeout_ctx)
os_memset(&params, 0, sizeof(params));
wpa_setband_scan_freqs_list(wpa_s, HOSTAPD_MODE_IEEE80211G, &params);
+ params.low_priority = 1;
wpa_printf(MSG_DEBUG, "SME OBSS: Request an OBSS scan");
if (wpa_supplicant_trigger_scan(wpa_s, &params))