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:
Vamsi Krishna 2020-04-03 17:22:03 +05:30 committed by Jouni Malinen
parent 169cf46534
commit c7a9a5745b

View file

@ -3182,8 +3182,12 @@ static void wpas_invitation_received(void *ctx, const u8 *sa, const u8 *bssid,
MAC2STR(sa), s->id); MAC2STR(sa), s->id);
} }
wpas_p2p_group_add_persistent( wpas_p2p_group_add_persistent(
wpa_s, s, go, 0, op_freq, 0, 0, 0, 0, 0, wpa_s, s, go, 0, op_freq, 0,
0, NULL, 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, go ? P2P_MAX_INITIAL_CONN_WAIT_GO_REINVOKE : 0,
1); 1);
} else if (bssid) { } else if (bssid) {