From 363a9e2434c00e06b76d1ec1add434a4a8fd970f Mon Sep 17 00:00:00 2001 From: Masashi Honma Date: Mon, 9 Feb 2009 19:50:52 +0200 Subject: [PATCH] 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. --- src/wps/wps_registrar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wps/wps_registrar.c b/src/wps/wps_registrar.c index 949f54054..f7eebddd6 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);