]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/p2p_supplicant.c
P2P: Cancel previous operation before starting new p2p_listen
authorJouni Malinen <j@w1.fi>
Thu, 17 Nov 2011 14:21:11 +0000 (16:21 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 17 Nov 2011 14:21:11 +0000 (16:21 +0200)
commit2bb747e2321e4dbd452c34a1e2c4160d884f115f
treebfe5d5acad9308d6147a33e014aa7452f2fb7a44
parent5cf72327fbb6c93700f2a00441dafe04e65d61f8
P2P: Cancel previous operation before starting new p2p_listen

Some drivers do not handle concurrent remain-on-channel operation
requests, so run p2p_stop_find() prior to starting p2p_listen. This
addresses some issues with P2P_LISTEN command being issues again
while already in Listen state.

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