]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Do not change P2P state on GO Neg failure if it is P2P_SEARCH
authorRashmi Ramanna <c_ramanr@qti.qualcomm.com>
Mon, 17 Nov 2014 10:37:24 +0000 (16:07 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 19 Nov 2014 14:59:03 +0000 (16:59 +0200)
commit9d11832090d6c8cc2f5d1586354d8c6b2e082703
treedc14c4f6dea4c5f68d7b163d7d5630dc5984b1b9
parent47261405d7cfa3923a2d5f07bba763aa789cf80e
P2P: Do not change P2P state on GO Neg failure if it is P2P_SEARCH

Changing the P2P state to P2P_IDLE on GO Negotiation Failure would stop
the previously issued P2P_FIND operation without notifying the upper
layers. Leave the search operation running if in P2P_SEARCH state to
avoid unexpected behavior in case the upper layers issued a new P2P_FIND
while waiting for GO Negotiation to complete.

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