P2P: Use 0-timeout when inviting to running group as client
This commit is contained in:
parent
131cb37c2d
commit
18eff3a3a7
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ static struct wpabuf * p2p_build_invitation_req(struct p2p_data *p2p,
|
||||||
peer->dialog_token);
|
peer->dialog_token);
|
||||||
|
|
||||||
len = p2p_buf_add_ie_hdr(buf);
|
len = p2p_buf_add_ie_hdr(buf);
|
||||||
if (p2p->inv_role == P2P_INVITE_ROLE_ACTIVE_GO)
|
if (p2p->inv_role == P2P_INVITE_ROLE_ACTIVE_GO || !p2p->inv_persistent)
|
||||||
p2p_buf_add_config_timeout(buf, 0, 0);
|
p2p_buf_add_config_timeout(buf, 0, 0);
|
||||||
else
|
else
|
||||||
p2p_buf_add_config_timeout(buf, 100, 20);
|
p2p_buf_add_config_timeout(buf, 100, 20);
|
||||||
|
|
Loading…
Reference in a new issue