]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Re-start P2P operation if station mode scanning is stopped
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 18 Mar 2013 15:04:23 +0000 (17:04 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 18 Mar 2013 15:32:31 +0000 (17:32 +0200)
commitb1cd021e2974bf79d764268f8645f28ffbb7f7f2
tree8bc41046a312db87bf0bce2fe28aba3f9d74060c
parentf85f545e71f2202f1bc7ab65235249320c05ec56
P2P: Re-start P2P operation if station mode scanning is stopped

There were couple of code paths that could end up stopping station mode
scanning without clearing sta_scan_pending. This could result in P2P
search getting stuck waiting for completion of station mode scan which
would never show up. Fix this by calling wpas_p2p_continue_after_scan()
in cases where station mode scans are stopped. This allows
sta_scan_pending to be cleared and P2P search operation continued.

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