WPS: Add display and keypad config methods for WPS ER
authorJouni Malinen <j@w1.fi>
Sat, 12 Dec 2009 14:49:33 +0000 (16:49 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 12 Dec 2009 14:49:33 +0000 (16:49 +0200)
wpa_supplicant/wps_supplicant.c

index b25e8df..69df72d 100644 (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;