diff options
-rw-r--r-- | plugins/wifi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index be2358c4..aa6021da 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; |