diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-11-23 18:24:05 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-11-23 18:25:27 +0900 |
commit | 496d4c03cd74c91d5a1108a6ec36686fc765da62 (patch) | |
tree | a8baf37634f8301e3b68e3ff20d5f7eee0913e27 | |
parent | bb4b63c422aac3f31f2f95811c49b219366fa7ad (diff) | |
download | bluetooth-496d4c03cd74c91d5a1108a6ec36686fc765da62.tar.gz bluetooth-496d4c03cd74c91d5a1108a6ec36686fc765da62.tar.bz2 bluetooth-496d4c03cd74c91d5a1108a6ec36686fc765da62.zip |
Remove the scan filter supported check logic for the platform filtersubmit/tizen_common/20170111.202935submit/tizen_common/20170111.150147submit/tizen/20161123.084000accepted/tizen/wearable/20161123.232901accepted/tizen/tv/20161123.232840accepted/tizen/mobile/20161123.232822accepted/tizen/ivi/20161123.232920accepted/tizen/common/20170111.203234accepted/tizen/common/20170111.155017accepted/tizen/common/20161124.165957
Change-Id: Ic8488184a7c66111064ae1c55c57b2f4c227614f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r-- | src/bluetooth-adapter.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/bluetooth-adapter.c b/src/bluetooth-adapter.c index b131508..c7ddc0b 100644 --- a/src/bluetooth-adapter.c +++ b/src/bluetooth-adapter.c @@ -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 */ |