P2P: Leave forced BSSID parameter for P2P group
P2P group is only going to use a single GO, so we can leave the fixed BSSID parameter set for the actual data connection in addition to the initial WPS provisionign step. This can speed up operations with drivers that select BSS internally by allowing them to skip an extra scan when the BSSID and frequency of the GO is already known. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
488f4a7108
commit
cae2119c86
1 changed files with 3 additions and 2 deletions
|
@ -263,9 +263,10 @@ static int wpa_supplicant_wps_cred(void *ctx,
|
||||||
ssid->eap.phase1 = NULL;
|
ssid->eap.phase1 = NULL;
|
||||||
os_free(ssid->eap.eap_methods);
|
os_free(ssid->eap.eap_methods);
|
||||||
ssid->eap.eap_methods = NULL;
|
ssid->eap.eap_methods = NULL;
|
||||||
if (!ssid->p2p_group)
|
if (!ssid->p2p_group) {
|
||||||
ssid->temporary = 0;
|
ssid->temporary = 0;
|
||||||
ssid->bssid_set = 0;
|
ssid->bssid_set = 0;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
wpa_printf(MSG_DEBUG, "WPS: Create a new network based on the "
|
wpa_printf(MSG_DEBUG, "WPS: Create a new network based on the "
|
||||||
"received credential");
|
"received credential");
|
||||||
|
|
Loading…
Reference in a new issue