Description: In specific case, CommMan issue the SSID based scan followed
by full channel scan. In that case, applicaiton receive the two scan
done event. To handle this , block the scan done event for SSID based
scan.
Change-Id: I24803bd7377e3c682a33b0be653c36c65d30186e
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
Name: connman
Version: 1.29
-Release: 18
+Release: 19
License: GPL-2.0+
Summary: Connection Manager
Url: http://connman.net
if (wifi->tethering)
return -EBUSY;
-
+#if defined TIZEN_EXT
+ if (connman_device_get_scanning(device) && !wifi->allow_full_scan)
+#else
if (connman_device_get_scanning(device))
+#endif
return -EALREADY;
connman_device_ref(device);
}
scanning = connman_device_get_scanning(device);
-
- if (scanning) {
+#if defined TIZEN_EXT
+ if (scanning && !wifi->allow_full_scan)
+#else
+ if (scanning)
+#endif
connman_device_set_scanning(device,
CONNMAN_SERVICE_TYPE_WIFI, false);
- }
if (result != -ENOLINK)
#if defined TIZEN_EXT