|
@@ -161,7 +161,7 @@ static struct wpabuf * p2p_build_go_neg_req(struct p2p_data *p2p,
|
|
|
p2p_buf_add_go_intent(buf, (p2p->go_intent << 1) |
|
|
|
p2p->next_tie_breaker);
|
|
|
p2p->next_tie_breaker = !p2p->next_tie_breaker;
|
|
|
- p2p_buf_add_config_timeout(buf, 100, 20);
|
|
|
+ p2p_buf_add_config_timeout(buf, p2p->go_timeout, p2p->client_timeout);
|
|
|
p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg->reg_class,
|
|
|
p2p->cfg->channel);
|
|
|
if (p2p->ext_listen_interval)
|
|
@@ -274,7 +274,7 @@ static struct wpabuf * p2p_build_go_neg_resp(struct p2p_data *p2p,
|
|
|
~P2P_DEV_CAPAB_CLIENT_DISCOVERABILITY,
|
|
|
group_capab);
|
|
|
p2p_buf_add_go_intent(buf, (p2p->go_intent << 1) | tie_breaker);
|
|
|
- p2p_buf_add_config_timeout(buf, 100, 20);
|
|
|
+ p2p_buf_add_config_timeout(buf, p2p->go_timeout, p2p->client_timeout);
|
|
|
if (peer && peer->go_state == REMOTE_GO) {
|
|
|
wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Omit Operating "
|
|
|
"Channel attribute");
|