Browse Source

WPS: Add display and keypad config methods for WPS ER

Jouni Malinen 15 years ago
parent
commit
c1a853438f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      wpa_supplicant/wps_supplicant.c

+ 2 - 0
wpa_supplicant/wps_supplicant.c

@@ -1116,6 +1116,8 @@ int wpas_wps_er_start(struct wpa_supplicant *wpa_s)
 		wps_er_refresh(wpa_s->wps_er);
 		wps_er_refresh(wpa_s->wps_er);
 		return 0;
 		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);
 	wpa_s->wps_er = wps_er_init(wpa_s->wps, wpa_s->ifname);
 	if (wpa_s->wps_er == NULL)
 	if (wpa_s->wps_er == NULL)
 		return -1;
 		return -1;