]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/ctrl_iface.c
Fix SCAN control interface command error cases
authorJouni Malinen <j@w1.fi>
Thu, 11 Dec 2014 23:12:15 +0000 (01:12 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 11 Dec 2014 23:12:15 +0000 (01:12 +0200)
commit43a66ecba3f1ad41ab36f82d9e979ca5cef919d5
tree4f90a03377ac4617c35443fafb3b042affcfbb50
parent530b519f78d0cdf7a20fde07844382811f4ea2ff
Fix SCAN control interface command error cases

Update the scan parameters in wpa_s only in case the scan command is
going to be executed. In other words, do not change the parameters for
an ongoing scan (the SCAN command is rejected with FAIL-BUSY) or if any
of the parameters is invalid.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/ctrl_iface.c