summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplugins/wifi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 5a85785..ce53233 100755
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -1323,11 +1323,7 @@ static void scan_callback(int result, GSupplicantInterface *interface,
* unreferenced the device, obviating the need to do it here.
*/
-#if defined TIZEN_EXT
- if (scanning && wifi && !wifi->allow_full_scan)
-#else
if (scanning)
-#endif
connman_device_unref(device);
#if defined TIZEN_EXT