Call g_supplicant_interface_scan with scan_params 34/78534/1
authorhyunuktak <hyunuk.tak@samsung.com>
Wed, 6 Jul 2016 04:07:05 +0000 (13:07 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Wed, 6 Jul 2016 04:07:07 +0000 (13:07 +0900)
when latest connection is specific ssid as hidden

Change-Id: Id5a58977ac3dcb05f3006dbed85d3e07aab15326
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/connman.spec
plugins/wifi.c

index 3e7c99c..1fd96eb 100755 (executable)
@@ -4,7 +4,7 @@
 
 Name:           connman
 Version:        1.29
-Release:        14
+Release:        15
 License:        GPL-2.0+
 Summary:        Connection Manager
 Url:            http://connman.net
index 4050bce..72eb64f 100755 (executable)
@@ -1930,19 +1930,9 @@ static int wifi_scan(enum connman_service_type type,
 
        reset_autoscan(device);
 
-#if defined TIZEN_EXT
-       if (wifi->hidden) {
-               ret = g_supplicant_interface_scan(wifi->interface, scan_params,
-                                               scan_callback, device);
-       }
-       else {
-               ret = g_supplicant_interface_scan(wifi->interface, NULL,
-                                                       scan_callback_hidden, device);
-       }
-#else
        ret = g_supplicant_interface_scan(wifi->interface, scan_params,
                                                scan_callback, device);
-#endif
+
        if (ret == 0) {
                connman_device_set_scanning(device,
                                CONNMAN_SERVICE_TYPE_WIFI, true);