P2P: Fix device discoverability to not wait before sending GO Neg Req
authorJouni Malinen <jouni.malinen@atheros.com>
Sat, 10 Jul 2010 00:23:11 +0000 (17:23 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 9 Sep 2010 14:17:20 +0000 (07:17 -0700)
commit0af196088c2529ac769239cb4802dd06e9409abc
tree5df0ed9a52ff026ca4dfd60cea72bdec3d338cff
parentaefb53bd5d837bc3f7a848e0f800f2a9a1cf6d21
P2P: Fix device discoverability to not wait before sending GO Neg Req

When we receive Device Discoverability Response, we need to initiate
new GO Negotiation as quickly as possible to avoid the target client
from going back to sleep. Make sure we do not end up in
P2P_CONNECT_LISTEN state (short Listen mode) in this case.
src/p2p/p2p_dev_disc.c