]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpa_cli: Handle wpa_supplicant termination more cleanly
authorJouni Malinen <j@w1.fi>
Sun, 5 Aug 2012 19:27:52 +0000 (22:27 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 5 Aug 2012 19:27:52 +0000 (22:27 +0300)
commit059d3a9075f92043f6c0acfcba737087e9a7a659
tree9dd7ce384883d15b248279ecdb277075b3b68338
parent8e897ae37b4db5ab4336e5c035fdb8b62e126b00
wpa_cli: Handle wpa_supplicant termination more cleanly

Process CTRL-EVENT-TERMINATING in wpa_cli interactive mode and close
ctrl_iface connection without trying to detach the monitor interface
when this happens. This avoids a timeout on the DETACH command. In
addition, print out connection lost/re-established messages without
overriding the edit line.

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