aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.c
diff options
context:
space:
mode:
authorWei-Jen Lin <jenlin@qca.qualcomm.com>2012-05-03 13:51:04 (GMT)
committerJouni Malinen <j@w1.fi>2012-05-03 13:51:04 (GMT)
commit1298c1459481d8d634b5b4f6982689c02e05fce4 (patch)
tree10e1cb46f2ba554b78d53004d523a4c68906a0fb /wpa_supplicant/ap.c
parentf571b593ba86a4f8345e4e306fcf8842c2f00863 (diff)
downloadhostap-1298c1459481d8d634b5b4f6982689c02e05fce4.zip
hostap-1298c1459481d8d634b5b4f6982689c02e05fce4.tar.gz
hostap-1298c1459481d8d634b5b4f6982689c02e05fce4.tar.bz2
Allow pbc_in_m1 workaround to be enabled in wpa_supplicant AP mode
This workaround for Windows 7 WPS probing mechanism was previously allowed only with hostapd, but the same interoperability issue can happen with wpa_supplicant AP/GO mode. Allow the workaround to be enabled in wpa_supplicant configuration for these uses. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/ap.c')
-rw-r--r--wpa_supplicant/ap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index 386e2a4..21aa7f6 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -278,6 +278,7 @@ static int wpa_supplicant_conf_ap(struct wpa_supplicant *wpa_s,
else
os_memcpy(bss->uuid, wpa_s->conf->uuid, WPS_UUID_LEN);
os_memcpy(bss->os_version, wpa_s->conf->os_version, 4);
+ bss->pbc_in_m1 = wpa_s->conf->pbc_in_m1;
no_wps:
#endif /* CONFIG_WPS */