P2P: Use 'Enrollee info' WPS request type in P2P scans

This avoids setting explicit Request-to-Enrollee request when
WPS 2.0 is used.
This commit is contained in:
Jouni Malinen 2010-07-06 16:32:14 -07:00 committed by Jouni Malinen
parent 48e4377093
commit af8ab1ae97

View file

@ -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 &&