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:
parent
48e4377093
commit
af8ab1ae97
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ static void wpa_supplicant_scan(void *eloop_ctx, void *timeout_ctx)
|
||||||
wpa_s->wps->dev.p2p = 1;
|
wpa_s->wps->dev.p2p = 1;
|
||||||
if (!wps) {
|
if (!wps) {
|
||||||
wps = 1;
|
wps = 1;
|
||||||
req_type = WPS_REQ_ENROLLEE;
|
req_type = WPS_REQ_ENROLLEE_INFO;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params.freqs == NULL && wpa_s->p2p_in_provisioning &&
|
if (params.freqs == NULL && wpa_s->p2p_in_provisioning &&
|
||||||
|
|
Loading…
Reference in a new issue