]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Avoid re-starting p2p_search in some corner cases
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 9 Feb 2012 10:49:36 +0000 (12:49 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 9 Feb 2012 10:49:36 +0000 (12:49 +0200)
commit59acfe87aad300ae74e0233d62fa830179d00884
treec7075e35979c0faea04bd5067148719a241a428b
parent165ec7305392b69d4cc8d57af126159a35b2aa1b
P2P: Avoid re-starting p2p_search in some corner cases

Search (p2p_scan) could already have been started at the point
remain-on-channel end event is being processed, e.g., if an Action frame
TX is reported immediately aftet the end of an earlier remain-on-channel
operation and the response frame is sent using an offchannel operation
while p2p_find is still in progress. Avoid trying to re-run p2p_scan
while the previous one is still running.

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