Reject new SCAN commands if there is a pending request
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 12 Dec 2014 10:11:14 +0000 (12:11 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 19 Dec 2014 13:14:38 +0000 (15:14 +0200)
commite69ae5ff319f549635a87c844b8a4f20c7289ca2
tree3697a4131afe8fca6fe970dfaf916c5a95492299
parent9108ea09f2e00c85617e032d329087f3cbac9f04
Reject new SCAN commands if there is a pending request

FAIL-BUSY was already returned for the case where a scan had been
started, but with the radio work design, it would have been possible to
schedule multiple scan requests if a non-scan radio work was in
progress. Multiple back-to-back scans are not usually very helpful, so
reject this type of cases where the SCAN command would be used to build
such a sequence.

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