diff options
-rw-r--r-- | plugins/wifi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index dd58a446..e74e2d9b 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -2479,7 +2479,9 @@ static int wifi_disable(struct connman_device *device) if (wifi->pending_network) wifi->pending_network = NULL; +#if !defined TIZEN_EXT stop_autoscan(device); +#endif if (connman_device_get_scanning(device, CONNMAN_SERVICE_TYPE_P2P)) { g_source_remove(wifi->p2p_find_timeout); @@ -2502,6 +2504,10 @@ static int wifi_disable(struct connman_device *device) connman_device_unref(wifi->device); } +#if defined TIZEN_EXT + stop_autoscan(device); +#endif + remove_networks(device, wifi); remove_peers(wifi); |