From: Jouni Malinen Date: Tue, 6 Jul 2010 23:32:14 +0000 (-0700) Subject: P2P: Use 'Enrollee info' WPS request type in P2P scans X-Git-Tag: hostap-1-bp~1103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af8ab1ae97d4c4d39d90994c2770e3f4c7e12c18;p=thirdparty%2Fhostap.git P2P: Use 'Enrollee info' WPS request type in P2P scans This avoids setting explicit Request-to-Enrollee request when WPS 2.0 is used. --- 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 &&