summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/wifi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index a9059801..5f41b25b 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -196,6 +196,7 @@ static void wifi_remove(struct connman_device *device)
remove_networks(device, wifi);
+ connman_device_set_powered(device, FALSE);
connman_device_set_data(device, NULL);
connman_device_unref(wifi->device);
connman_rtnl_remove_watch(wifi->watch);