Remove the scan filter supported check logic for the platform filter 76/99576/1 accepted/tizen/3.0/common/20161124.181653 accepted/tizen/3.0/ivi/20161124.025355 accepted/tizen/3.0/mobile/20161124.025303 accepted/tizen/3.0/tv/20161124.025322 accepted/tizen/3.0/wearable/20161124.025338 submit/tizen_3.0/20161123.083932
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 23 Nov 2016 09:24:05 +0000 (18:24 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 23 Nov 2016 09:24:05 +0000 (18:24 +0900)
Change-Id: Id23a03b5a3321a1f2ae9bd54029d028d65dc1b1a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/bluetooth-adapter.c

index b1315088b2ed6009d140003f811d6a4f0731c77b..c7ddc0bfab7cf013eebe795bbb2ea2e02b028bd7 100644 (file)
@@ -3380,11 +3380,6 @@ int bt_adapter_le_create_scan_filter(bt_scan_filter_h *scan_filter)
        BT_CHECK_INIT_STATUS();
        BT_CHECK_INPUT_PARAMETER(scan_filter);
 
-       if (bluetooth_is_scan_filter_supported() == FALSE) {
-               BT_ERR("BT_ERROR_NOT_SUPPORTED(0x%08x)", BT_ERROR_NOT_SUPPORTED);
-               return BT_ERROR_NOT_SUPPORTED;
-       }
-
        __filter = (bt_le_scan_filter_s *)g_malloc0(sizeof(bt_le_scan_filter_s));
        if (__filter == NULL) {
                BT_ERR("OUT_OF_MEMORY(0x%08x)",
@@ -3743,11 +3738,6 @@ int bt_adapter_le_unregister_all_scan_filters(void)
        BT_CHECK_LE_SUPPORT();
        BT_CHECK_INIT_STATUS();
 
-       if (bluetooth_is_scan_filter_supported() == FALSE) {
-               BT_ERR("BT_ERROR_NOT_SUPPORTED(0x%08x)", BT_ERROR_NOT_SUPPORTED);
-               return BT_ERROR_NOT_SUPPORTED;
-       }
-
        if (bluetooth_is_le_scanning() == TRUE) {
                BT_ERR("NOW_IN_PROGRESS(0x%08x)",
                        BT_ERROR_NOW_IN_PROGRESS); /* LCOV_EXCL_LINE */