summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplugins/wifi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index ce53233..5a85785 100755
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -1323,7 +1323,11 @@ 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