P2P: Clear pending_listen_freq when starting GO Neg/Invite
authorJouni Malinen <j@w1.fi>
Sat, 27 Sep 2014 10:15:47 +0000 (13:15 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 27 Sep 2014 13:12:41 +0000 (16:12 +0300)
commit7549c178acb7fb11241a667c75d6c6c42cd15f13
tree0e55f52ebc9c6283cbbc8df965aeed68dc37e350
parentb497a2126776378f34241d2b378790eeb2ad7f4c
P2P: Clear pending_listen_freq when starting GO Neg/Invite

Previously, it was possible for the p2p->pending_listen_freq to be left
at non-zero value if Probe Request frame was received from a peer with
which we were waiting to start GO Negotiation/Invite process. That could
result in the following Listen operation getting blocked in some
operation sequences if the peer did not acknowledge the following P2P
Public Action frame.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/p2p/p2p.c