]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Do not allow pending listen command override connect
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 21 Dec 2011 11:35:18 +0000 (13:35 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 21 Dec 2011 11:35:18 +0000 (13:35 +0200)
commitd9bdba9f867577ed9da6df9c5c933033c71bcdf2
treeff18dec556a4f550fa8cdc2878581e94c05e58ae
parent72d48a80ec5ccdb4d3aecd7c94a0e11a4db549b4
P2P: Do not allow pending listen command override connect

If p2p_listen is issued during a p2p_scan, a pending after-scan operation
is scheduled. However, since there is support for only a single pending
operation, this was able to override a previously scheduled pending
connect command. This can break some command sequences, so give higher
priority to pending connect operation.

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