wpa_cli: Fix process termination in wpa_cli action mode case
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 18 Jun 2015 10:48:21 +0000 (13:48 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 18 Jun 2015 10:50:48 +0000 (13:50 +0300)
commit13f6f617eeca4fd16ccd144fba0edd84083af118
tree338eb8b60dc7bbb47a0a38d1801a328d9881f783
parentb4c0f584527d5bfb9fb313405ad58369336ab94c
wpa_cli: Fix process termination in wpa_cli action mode case

Commit 4be9f27595f313773612d2fe534c013dfedfe679 ('wpa_cli: Use eloop
during connection attempts in interactive mode') did not take into
account the needs for signal processing in action mode. eloop_run() was
not called in this case and the internal select() loop would block eloop
processing anyway and prevent clean shutdown. Fix this by using eloop
for action mode operations.

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