P2P: Report dev_found event (if not yet done) from GO Neg Req RX
authorSunil Dutt Undekari <usdutt@qti.qualcomm.com>
Thu, 6 Mar 2014 14:15:27 +0000 (19:45 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 12 Mar 2014 20:39:11 +0000 (22:39 +0200)
commit3a8ec7382e31b5b04f0124c55e828ddf8f00ff84
tree85fc621d01e9885160923aecbeb899ff5f6a3683
parentaa034377f7e11e370a12f0591e46cc3705259d91
P2P: Report dev_found event (if not yet done) from GO Neg Req RX

p2p_find removes P2P_DEV_REPORTED flag from every existing P2P peer
entry. Thus, if a GO Negotiation Request frame is received before the
peer is re-discovered based on Probe Response frame, report
P2P-DEVICE-FOUND indication prior to the P2P-GO-NEG-REQUEST similarly to
how this is done the first time the peer is found.

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