aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.c
diff options
context:
space:
mode:
authorLior David <qca_liord@qca.qualcomm.com>2016-04-04 16:19:25 (GMT)
committerJouni Malinen <j@w1.fi>2016-04-08 09:56:34 (GMT)
commit90f14962ec14f3ff46c12f0a191404e5957786b1 (patch)
tree532e25fd19ee441140ffc26722fdc3bea88a68b5 /wpa_supplicant/config.c
parent39881726d5b3b0ccba8f8fa175448316351fbab6 (diff)
downloadhostap-90f14962ec14f3ff46c12f0a191404e5957786b1.zip
hostap-90f14962ec14f3ff46c12f0a191404e5957786b1.tar.gz
hostap-90f14962ec14f3ff46c12f0a191404e5957786b1.tar.bz2
wpa_supplicant: "don't care" value for pbss in ssid structure
Add a new value 2 to the pbss parameter of wpa_ssid structure, which means "don't care". This value is used in infrastructure mode to request connection to either AP or PCP, whichever is available in the scan results. The value is also used in regular WPS (not P2P group formation) to make WPS work with devices running as either AP or PCP. Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config.c')
-rw-r--r--wpa_supplicant/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index c167f09..7ecc5b0 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -2048,7 +2048,7 @@ static const struct parse_data ssid_fields[] = {
{ INT(update_identifier) },
#endif /* CONFIG_HS20 */
{ INT_RANGE(mac_addr, 0, 2) },
- { INT_RANGE(pbss, 0, 1) },
+ { INT_RANGE(pbss, 0, 2) },
};
#undef OFFSET