P2P: Fix PD retries on delay in off channel transmission
authorSunil Dutt <duttus@codeaurora.org>
Fri, 24 Aug 2012 08:54:02 +0000 (11:54 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 24 Aug 2012 08:54:02 +0000 (11:54 +0300)
commit1af1c9ceb618f9254a0aa10426f7e04bce26b3b6
tree8dcd0728464aaf68a8084d018d82929298bb6f56
parentb4a5dfa95da694e3f2bf1f635e3c039c726e65b9
P2P: Fix PD retries on delay in off channel transmission

Commit 488f4a7108e021be97fc1841fff9042d2b7d737f configures a timer
before p2p_send_action(). This may result in the timer getting fired
earlier to the off channel transmission of the frame and thus another PD
request being retransmitted. This shall lead to the new PD request with
an incremented dialog token being transmitted. For the cases where the
later PD request might not be transmitted as the host driver is busy
transmitting the earlier frame, the received PD response could be
dropped for the dialog token mismatch. Remove the timer configuration to
avoid this behavior.

Signed-hostap: Sunil Dutt Undekari <duttus@codeaurora.org>
intended-for: hostap-1
src/p2p/p2p_pd.c