aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMasashi Honma <honma@ictec.co.jp>2009-02-09 17:50:52 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-15 13:07:35 (GMT)
commita448e0b7ebe3b802307df5af92a16b6c0965115f (patch)
tree44d058ba7d5a31fac9b3f7a25d588600604fbc62 /src
parent6f3288c6827b45eff20be7ae362608ae2a22d9c0 (diff)
downloadhostap-06-a448e0b7ebe3b802307df5af92a16b6c0965115f.zip
hostap-06-a448e0b7ebe3b802307df5af92a16b6c0965115f.tar.gz
hostap-06-a448e0b7ebe3b802307df5af92a16b6c0965115f.tar.bz2
WPS: Set correct Selected Registrar Config Methods attribute
I tried PBC with the hostapd registrar. I pushed the button with "hostap_cli WPS_PBC". But hostapd registrar always sends Selected Registrar Config Methods attribute=0x0000 in beacon/probe response. (cherry picked from commit 363a9e2434c00e06b76d1ec1add434a4a8fd970f)
Diffstat (limited to 'src')
-rw-r--r--src/wps/wps_registrar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wps/wps_registrar.c b/src/wps/wps_registrar.c
index 949f540..f7eebdd 100644
--- a/src/wps/wps_registrar.c
+++ b/src/wps/wps_registrar.c
@@ -375,6 +375,7 @@ wps_registrar_init(struct wps_context *wps,
}
reg->disable_auto_conf = cfg->disable_auto_conf;
reg->sel_reg_dev_password_id_override = -1;
+ reg->sel_reg_config_methods_override = -1;
if (wps_set_ie(reg)) {
wps_registrar_deinit(reg);