]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Fix group formation timeout on GO during WPS step
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 8 Jun 2012 15:22:03 +0000 (18:22 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 8 Jun 2012 15:22:03 +0000 (18:22 +0300)
commit73ccd08378fd397c242d44ee1d24a4cd6d94c3f8
tree202091713188b81f716959e39729b0db66a7c73f
parent476dea24fffca37ebc1011840449e89ed4b8f49a
P2P: Fix group formation timeout on GO during WPS step

Commit 361cdf34009c7407ddf22dee6f5e6ce82e81bcae changed the way the
group formation timeout is used on P2P client. However, it resulted in
clearing the timeout on the GO when the GO started beaconing. This is
not correct since the timeout is supposed to be maintained until at
least the completion of the WPS provisioning step. Fix this regression
by clearing the timeout here only in the case we are not GO in group
formation phase.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/p2p_supplicant.c