]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_cli.c
wpa_cli: Allow first DISCONNECTED event to be reported
authorJouni Malinen <j@w1.fi>
Sat, 31 Aug 2013 14:27:20 +0000 (17:27 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 31 Aug 2013 14:27:20 +0000 (17:27 +0300)
commit02a3e5c0d130e6944dcf93998f3866a9c484eb36
tree3c003d656c763d73a4d400ac95402b254b60b3b4
parentcdf8bfa4346b0792b93418e2d14d0e558ce33d72
wpa_cli: Allow first DISCONNECTED event to be reported

wpa_cli filters out extra DISCONNECTED events from action scripts. This
ended up filtering out the first real DISCONNECT event in case wpa_cli
was started when wpa_supplicant was in connected state. Change wpa_cli
to allow the first disconnection event to be reported to the action
script in such case.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_cli.c