Remove the exception case for XU3 LE scanning 95/90695/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 4 Oct 2016 01:30:14 +0000 (10:30 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 4 Oct 2016 01:30:14 +0000 (10:30 +0900)
Kernel's patchset was completed. So LE scan in XU3 will work.

Change-Id: Ic716670369831efc3d9c7933c954603ec5f284c2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-service/bt-service-adapter-le.c

index 5a8aeb3..eddbd36 100644 (file)
@@ -1365,11 +1365,6 @@ int _bt_start_le_scan(const char *sender)
        GVariant *ret;
        bt_adapter_le_scanner_t *scanner = __bt_find_scanner_from_list(sender);
 
-       /* Before finishing kernel merge, temperary return TRUE always for TCT issue */
-#ifdef USB_BLUETOOTH
-       return BLUETOOTH_ERROR_NONE;
-#endif
-
        if (scanner == NULL) {
                scanner = g_malloc0(sizeof(bt_adapter_le_scanner_t));
                retv_if(scanner == NULL, BLUETOOTH_ERROR_INTERNAL);
@@ -1465,11 +1460,6 @@ int _bt_stop_le_scan(const char *sender)
        gboolean next_scanning = FALSE;
        gboolean need_scan_filter = TRUE;
 
-/* Before finishing kernel merge, temperary return TRUE always for TCT issue */
-#ifdef USB_BLUETOOTH
-       return BLUETOOTH_ERROR_NONE;
-#endif
-
        if (scanner == NULL || scanner->is_scanning == FALSE)
                return BLUETOOTH_ERROR_NOT_IN_OPERATION;