P2P: Allow persistent group determination based on Beacon frame
P2P IE may be available from a Beacon frame from a GO even if we have not yet received a Probe Response frame with P2P IE from that GO. Since all the needed information for determining the GO's P2P Device Address and group capabilities are available, use that information instead of displaying incomplete group information. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
aaeb9c98e6
commit
5df7414b04
1 changed files with 3 additions and 0 deletions
|
@ -535,6 +535,9 @@ static int wpas_p2p_persistent_group(struct wpa_supplicant *wpa_s,
|
|||
}
|
||||
|
||||
p2p = wpa_bss_get_vendor_ie_multi(bss, P2P_IE_VENDOR_TYPE);
|
||||
if (p2p == NULL)
|
||||
p2p = wpa_bss_get_vendor_ie_multi_beacon(bss,
|
||||
P2P_IE_VENDOR_TYPE);
|
||||
if (p2p == NULL) {
|
||||
wpa_printf(MSG_DEBUG, "P2P: Could not figure out whether "
|
||||
"group is persistent - BSS " MACSTR
|
||||
|
|
Loading…
Reference in a new issue