P2P: Use the same Dialog Token value for every PD retry
authorSunil Dutt <duttus@codeaurora.org>
Tue, 8 Jan 2013 11:12:34 +0000 (13:12 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 8 Jan 2013 11:12:34 +0000 (13:12 +0200)
commitc0810ddb3c905733bd3210d670a387af27e67f28
tree97bc6f5efc446f114378a7e6599324c327b954f5
parent708bc8e0e41f17b8f976a3dc5c9ac9776c8fad1f
P2P: Use the same Dialog Token value for every PD retry

Commit 175171ac6c3f2bb501897237d559de0fedfd992e ensured that the PD
requests are retried in join-a-running group case and the Enrollee is
started on either receiving the PD response or after the retries. Each
PD request is retried with an unique dialog token and a PD response from
the GO with a mismatched dialog token is ignored. Thus, the P2P client
would continue retrying the PD requests till the response with a
matching dialog token is obtained. This would result in the GO getting
multiple PD requests and a corresponding user notification (POP UP) in
implementations where each PD request results in a POP UP, resulting in
a bad user experience. To avoid such behavior, the same dialog token
value is used for every retry in the same PD exchange.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p_pd.c