Add option for disabling automatic reconnection on disconnection
authorArdong Chen <ardongchen@atheros.com>
Mon, 6 Sep 2010 14:28:45 +0000 (17:28 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 10 Sep 2010 17:30:26 +0000 (10:30 -0700)
commit0d0a8ca1cc14acb30b6681818427b21798698ed6
treec11b5039e82d7f86509e9d59376b108d9ccd7f5a
parent2049af2bd5fb945d4b9ec973b98edc6efd22938d
Add option for disabling automatic reconnection on disconnection

ctrl_interface STA_AUTOCONNECT command can now be used to disable
automatic reconnection on receiving disconnection event. The default
behavior is for wpa_supplicant to try to reconnect automatically, i.e.,
to maintain previous behavior.
wpa_supplicant/ctrl_iface.c
wpa_supplicant/events.c
wpa_supplicant/wpa_cli.c
wpa_supplicant/wpa_supplicant_i.h