]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Remove GO neg/invite special cases from search
authorJohannes Berg <johannes.berg@intel.com>
Sat, 30 Jun 2012 17:18:07 +0000 (20:18 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 30 Jun 2012 17:18:07 +0000 (20:18 +0300)
commite6ecfc4fd3856309b2e1b9e0d23a8635752666e2
treeb0b0e5a93ea26ae9906c654ae6ff8aa9d0dbbacb
parentd001defeec53a79f9e8a26d6fc298d885f19a841
P2P: Remove GO neg/invite special cases from search

There are separate states for these, so we can't really get into this
situation unless somebody tries to do multiple things at the same
time. p2p_connect stops find and CONNECT state is used to probe the peer
on its Listen channel with GO Negotiation Request frames. Similarly,
p2p_invite() stops find and INVITE state is used to probe the peer on
its Listen channel with Invitation Request frames. The older mechanism
of using Search state functionality to find the peer can be removed.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
src/p2p/p2p.c