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.
This commit is contained in:
Masashi Honma 2009-02-09 19:50:52 +02:00 committed by Jouni Malinen
parent c3f5b1e16d
commit 363a9e2434

View file

@ -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);