wpa_cli: Skip action script execution when eloop termination is pending
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 22 Jul 2015 14:10:32 +0000 (17:10 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 22 Jul 2015 14:10:32 +0000 (17:10 +0300)
commitb525cbab861a8338e3feffbae8a79ed36129a621
tree072ae66240afedbfeda1d21e43e7347a61f0560a
parentacbd59d0a8e47afb745c900432e5da2873dfd851
wpa_cli: Skip action script execution when eloop termination is pending

Try to exit more quickly by avoiding execution of the action script for
any pending events if the process is requested to be killed. This may
help in avoiding hitting the two second SIGALRM workaround in eloop in
case some of the action scripts block for long period of time.

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