From af8ab1ae97d4c4d39d90994c2770e3f4c7e12c18 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 6 Jul 2010 16:32:14 -0700 Subject: [PATCH] P2P: Use 'Enrollee info' WPS request type in P2P scans This avoids setting explicit Request-to-Enrollee request when WPS 2.0 is used. --- wpa_supplicant/scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c index fc677da87..ee105d902 100644 --- a/wpa_supplicant/scan.c +++ b/wpa_supplicant/scan.c @@ -387,7 +387,7 @@ static void wpa_supplicant_scan(void *eloop_ctx, void *timeout_ctx) wpa_s->wps->dev.p2p = 1; if (!wps) { wps = 1; - req_type = WPS_REQ_ENROLLEE; + req_type = WPS_REQ_ENROLLEE_INFO; } if (params.freqs == NULL && wpa_s->p2p_in_provisioning &&