mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
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
@ -263,9 +263,10 @@ static int wpa_supplicant_wps_cred(void *ctx,
|
||||
ssid->eap.phase1 = NULL;
|
||||
os_free(ssid->eap.eap_methods);
|
||||
ssid->eap.eap_methods = NULL;
|
||||
if (!ssid->p2p_group)
|
||||
if (!ssid->p2p_group) {
|
||||
ssid->temporary = 0;
|
||||
ssid->bssid_set = 0;
|
||||
ssid->bssid_set = 0;
|
||||
}
|
||||
} else {
|
||||
wpa_printf(MSG_DEBUG, "WPS: Create a new network based on the "
|
||||
"received credential");
|
||||
|
Loading…
Reference in New Issue
Block a user