From fb650756bce388463c83a0cfb5ef2b955537c38f Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 17 Dec 2008 15:58:59 +0100 Subject: [PATCH] Indicate scanning state while not associated --- plugins/wifi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/wifi.c b/plugins/wifi.c index be2358c..aa6021d 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -217,6 +217,11 @@ static void state_change(struct connman_element *device, DBG("state %d", state); + if (state == STATE_SCANNING) + connman_element_set_scanning(device, TRUE); + else + connman_element_set_scanning(device, FALSE); + if (data == NULL) return; -- 2.7.4