]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_cli.c
wpa_cli: Use eloop during connection attempts in interactive mode
authorJouni Malinen <j@w1.fi>
Sun, 5 Aug 2012 18:47:18 +0000 (21:47 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 5 Aug 2012 18:47:18 +0000 (21:47 +0300)
commit4be9f27595f313773612d2fe534c013dfedfe679
tree1c71fcbd374bd7005fc78354bce6f419db6efe0e
parent5ff72bdcab4206168493fbc01c9caa6868f299a6
wpa_cli: Use eloop during connection attempts in interactive mode

This changes the call flow to allow full eloop operations to be used
while waiting for wpa_cli to establish a connection to wpa_supplicant in
the beginning of an interactive session. This allows the cleanup steps
to be more consistent and avoid debugging issues due to unfreed memory
or other resources if wpa_cli is killed with Ctrl-c.

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