aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-09-04 22:04:29 (GMT)
committerJouni Malinen <j@w1.fi>2015-09-04 22:04:29 (GMT)
commit8406cd35159f4286c12a629ddfecaa33e587a805 (patch)
tree69881c2e00d4748ea5171596e204d1bfd2803f2c /wpa_supplicant/config.h
parentd188367148d0caaa5a4fe352f1afd2d002ad5109 (diff)
downloadhostap-8406cd35159f4286c12a629ddfecaa33e587a805.zip
hostap-8406cd35159f4286c12a629ddfecaa33e587a805.tar.gz
hostap-8406cd35159f4286c12a629ddfecaa33e587a805.tar.bz2
Make it clearer that ap_scan=2 mode should not be used with nl80211
Add more details into configuration comments and a runtime info message if ap_scan=2 is used with the nl80211 driver interface. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index d427883..627f38b 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -406,6 +406,11 @@ struct wpa_config {
* one by one until the driver reports successful association; each
* network block should have explicit security policy (i.e., only one
* option in the lists) for key_mgmt, pairwise, group, proto variables.
+ *
+ * Note: ap_scan=2 should not be used with the nl80211 driver interface
+ * (the current Linux interface). ap_scan=1 is optimized work working
+ * with nl80211. For finding networks using hidden SSID, scan_ssid=1 in
+ * the network block can be used with nl80211.
*/
int ap_scan;