P2P: Fix Group ID in Invitation Request from active GO
Need to get P2P Device Address, not the Interface Address.
This commit is contained in:
parent
108def931e
commit
2e062d5d74
1 changed files with 1 additions and 1 deletions
|
@ -3099,7 +3099,7 @@ int wpas_p2p_invite_group(struct wpa_supplicant *wpa_s, const char *ifname,
|
|||
role = P2P_INVITE_ROLE_ACTIVE_GO;
|
||||
bssid = wpa_s->own_addr;
|
||||
if (go_dev_addr == NULL)
|
||||
go_dev_addr = wpa_s->own_addr;
|
||||
go_dev_addr = wpa_s->parent->own_addr;
|
||||
} else {
|
||||
role = P2P_INVITE_ROLE_CLIENT;
|
||||
if (wpa_s->wpa_state < WPA_ASSOCIATED) {
|
||||
|
|
Loading…
Reference in a new issue