mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
P2P: Start group with user configured params after accepting invitation
Use global configuration parameters while invoking a persistent P2P group after accepting P2P Invitation Request from a peer. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
169cf46534
commit
c7a9a5745b
@ -3182,8 +3182,12 @@ static void wpas_invitation_received(void *ctx, const u8 *sa, const u8 *bssid,
|
||||
MAC2STR(sa), s->id);
|
||||
}
|
||||
wpas_p2p_group_add_persistent(
|
||||
wpa_s, s, go, 0, op_freq, 0, 0, 0, 0, 0,
|
||||
0, NULL,
|
||||
wpa_s, s, go, 0, op_freq, 0,
|
||||
wpa_s->conf->p2p_go_ht40,
|
||||
wpa_s->conf->p2p_go_vht,
|
||||
0,
|
||||
wpa_s->conf->p2p_go_he,
|
||||
wpa_s->conf->p2p_go_edmg, NULL,
|
||||
go ? P2P_MAX_INITIAL_CONN_WAIT_GO_REINVOKE : 0,
|
||||
1);
|
||||
} else if (bssid) {
|
||||
|
Loading…
Reference in New Issue
Block a user