Remove the scan filter supported check logic for the platform filter 78/99578/1 accepted/tizen/common/20161124.165957 accepted/tizen/common/20170111.155017 accepted/tizen/common/20170111.203234 accepted/tizen/ivi/20161123.232920 accepted/tizen/mobile/20161123.232822 accepted/tizen/tv/20161123.232840 accepted/tizen/wearable/20161123.232901 submit/tizen/20161123.084000 submit/tizen_common/20170111.150147 submit/tizen_common/20170111.202935
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:25:27 +0000 (18:25 +0900)
Change-Id: Ic8488184a7c66111064ae1c55c57b2f4c227614f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/bluetooth-adapter.c

index b131508..c7ddc0b 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 */