From: Jouni Malinen Date: Sun, 20 Oct 2013 15:19:27 +0000 (+0300) Subject: P2P: Cancel offchannel TX wait on Invitation Response RX X-Git-Tag: hostap_2_1~822 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc46fd66c9d038797a5104ab785847479a2b2bf1;p=thirdparty%2Fhostap.git P2P: Cancel offchannel TX wait on Invitation Response RX This fixes issues where a GO used offchannel-TX operation to send an Invitation Request frame. Wait for the offchannel TX operation needs to be stopped as soon as the Invitation Response frame has been received. This addresses some issues where Probe Response frame from the GO through the monitor interface may end up going out on a wrong channel (the channel of this offchannel TX operation for invitation). Signed-hostap: Jouni Malinen --- diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c index 9b7744c00..7acbc7bd7 100644 --- a/src/p2p/p2p.c +++ b/src/p2p/p2p.c @@ -1604,6 +1604,7 @@ static void p2p_rx_p2p_action(struct p2p_data *p2p, const u8 *sa, rx_freq); break; case P2P_INVITATION_RESP: + p2p->cfg->send_action_done(p2p->cfg->cb_ctx); p2p_process_invitation_resp(p2p, sa, data + 1, len - 1); break; case P2P_PROV_DISC_REQ: