WPS: Add display and keypad config methods for WPS ER

This commit is contained in:
Jouni Malinen 2009-12-12 16:49:33 +02:00
parent 6a029035f5
commit c1a853438f
1 changed files with 2 additions and 0 deletions

View File

@ -1116,6 +1116,8 @@ int wpas_wps_er_start(struct wpa_supplicant *wpa_s)
wps_er_refresh(wpa_s->wps_er);
return 0;
}
wpa_s->wps->config_methods |= WPS_CONFIG_DISPLAY;
wpa_s->wps->config_methods |= WPS_CONFIG_KEYPAD;
wpa_s->wps_er = wps_er_init(wpa_s->wps, wpa_s->ifname);
if (wpa_s->wps_er == NULL)
return -1;