P2P: Ignore Tx acknowledgment status for Invitation Response
In some cases where the ack for Invitation response is lost, the device is stuck in invited state but the peer device starts GO. In line with the implementation of Negotiation Confirm, assume invitation response was actually received by the peer even though ack was not reported. Signed-hostap: Vivek Natarajan <nataraja@qca.qualcomm.com>
This commit is contained in:
parent
18a2eaabe3
commit
8047f70e03
1 changed files with 7 additions and 1 deletions
|
@ -543,7 +543,13 @@ void p2p_invitation_resp_cb(struct p2p_data *p2p, int success)
|
|||
"P2P: Invitation Response TX callback: success=%d", success);
|
||||
p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
|
||||
|
||||
if (success && p2p->cfg->invitation_received) {
|
||||
if (!success)
|
||||
wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
|
||||
"P2P: Assume Invitation Response was actually "
|
||||
"received by the peer even though Ack was not "
|
||||
"reported");
|
||||
|
||||
if (p2p->cfg->invitation_received) {
|
||||
p2p->cfg->invitation_received(p2p->cfg->cb_ctx,
|
||||
p2p->inv_sa,
|
||||
p2p->inv_group_bssid_ptr,
|
||||
|
|
Loading…
Reference in a new issue