diff options
author | Wei-Jen Lin <jenlin@qca.qualcomm.com> | 2012-05-03 16:51:04 +0300 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2012-05-03 16:51:04 +0300 |
commit | 1298c1459481d8d634b5b4f6982689c02e05fce4 (patch) | |
tree | 10e1cb46f2ba554b78d53004d523a4c68906a0fb /wpa_supplicant/config_file.c | |
parent | f571b593ba86a4f8345e4e306fcf8842c2f00863 (diff) | |
download | external_wpa_supplicant_8_ti-1298c1459481d8d634b5b4f6982689c02e05fce4.zip external_wpa_supplicant_8_ti-1298c1459481d8d634b5b4f6982689c02e05fce4.tar.gz external_wpa_supplicant_8_ti-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/config_file.c')
-rw-r--r-- | wpa_supplicant/config_file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c index 3a4c35f..8a73fa8 100644 --- a/wpa_supplicant/config_file.c +++ b/wpa_supplicant/config_file.c @@ -845,6 +845,8 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config) fprintf(f, "access_network_type=%d\n", config->access_network_type); #endif /* CONFIG_INTERWORKING */ + if (config->pbc_in_m1) + fprintf(f, "pbc_in_m1=%u\n", config->pbc_in_m1); } #endif /* CONFIG_NO_CONFIG_WRITE */ |