mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
P2P: Use group SSID, if known, for join operation even if no BSS entry
This allows the cases where a specific group SSID is known to filter out groups on the P2P Client even if the specific BSS entry for the target group is not yet available. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
aa256cb399
commit
b875276c4d
@ -5100,6 +5100,11 @@ static int wpas_p2p_join_start(struct wpa_supplicant *wpa_s, int freq,
|
||||
wpa_printf(MSG_DEBUG, "P2P: Join target GO operating frequency from BSS table: %d MHz (SSID %s)",
|
||||
bss->freq,
|
||||
wpa_ssid_txt(bss->ssid, bss->ssid_len));
|
||||
} else if (ssid && ssid_len) {
|
||||
res.ssid_len = ssid_len;
|
||||
os_memcpy(res.ssid, ssid, ssid_len);
|
||||
wpa_printf(MSG_DEBUG, "P2P: Join target GO (SSID %s)",
|
||||
wpa_ssid_txt(ssid, ssid_len));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user