P2P: Delay scan operation only when P2P is not in search state
authorSunil Dutt <usdutt@qti.qualcomm.com>
Thu, 30 Oct 2014 12:07:46 +0000 (17:37 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 30 Oct 2014 22:49:14 +0000 (00:49 +0200)
commite7ce54023926addb6be4442bd1a87698c57e7524
tree2135f7a09b1bf40cc869ddaa5296c9dcbd7b4dad
parentb951a97454309a5078ee24a5796829a92f1df5f9
P2P: Delay scan operation only when P2P is not in search state

With the radio work interface in place, station interface SCAN command
was not scheduled (i.e., it got continously delayed with "Delay station
mode scan while P2P operation is in progress") when a p2p_find was
operational. Fix this be delaying station mode scan only when a P2P
operation is in progress, but not in search state.

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