]> git.ipfire.org Git - thirdparty/hostap.git/commit
Add "reconnect" cmdline argument to hostapd_cli/wpa_cli
authorBilal Hatipoglu <bilal.hatipoglu@airties.com>
Thu, 5 Sep 2019 09:31:00 +0000 (12:31 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 25 Dec 2019 18:54:44 +0000 (20:54 +0200)
commit0b1839405e20d9c7a21bd392fe711069affcf62b
treefa6784cabaab808a978dd8ec67acbe9072e4940f
parent4318a635a902f68bea8f305a598ca38155ca26cb
Add "reconnect" cmdline argument to hostapd_cli/wpa_cli

When the newly added "-r" parameter is used, both clis will try to
reconnect forever on connection lost until signalled (ctrl+c) or
terminated. This is useful only when used with -a to take action to
retrieve events or get status and the cli process stays even if
hostapd/wpa_supplicant daemons restart for some reason (e.g.,
configuration change).

Signed-off-by: Veli Demirel <veli.demirel@airties.com>
Signed-off-by: Bilal Hatipoglu <bilal.hatipoglu@airties.com>
hostapd/hostapd_cli.c
wpa_supplicant/wpa_cli.c