aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-06-26 17:11:25 (GMT)
committerJouni Malinen <j@w1.fi>2012-06-26 17:11:25 (GMT)
commit99f00324098bc9f9fb447f331e297c495dd50390 (patch)
treefb47f5722a07d40f2a0cd5ac94448c0fb09dd478 /wpa_supplicant/dbus
parentc3d12238480015a5b9fd2704ad0f026a0010ec78 (diff)
downloadhostap-99f00324098bc9f9fb447f331e297c495dd50390.zip
hostap-99f00324098bc9f9fb447f331e297c495dd50390.tar.gz
hostap-99f00324098bc9f9fb447f331e297c495dd50390.tar.bz2
Allow autoscan parameters to be changed in SCANNING state
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/dbus')
-rw-r--r--wpa_supplicant/dbus/dbus_new_handlers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c
index eb902f6..bde2aff 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -1842,6 +1842,8 @@ DBusMessage * wpas_dbus_handler_autoscan(DBusMessage *message,
wpa_s->conf->autoscan = tmp;
if (state == WPA_DISCONNECTED || state == WPA_INACTIVE)
autoscan_init(wpa_s, 1);
+ else if (state == WPA_SCANNING)
+ wpa_supplicant_reinit_autoscan(wpa_s);
}
} else if (arg != NULL && os_strlen(arg) == 0) {
os_free(wpa_s->conf->autoscan);