summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoHyun Pyun <dh79.pyun@samsung.com>2016-11-23 18:24:05 +0900
committerDoHyun Pyun <dh79.pyun@samsung.com>2016-11-23 18:25:27 +0900
commit496d4c03cd74c91d5a1108a6ec36686fc765da62 (patch)
treea8baf37634f8301e3b68e3ff20d5f7eee0913e27
parentbb4b63c422aac3f31f2f95811c49b219366fa7ad (diff)
downloadbluetooth-496d4c03cd74c91d5a1108a6ec36686fc765da62.tar.gz
bluetooth-496d4c03cd74c91d5a1108a6ec36686fc765da62.tar.bz2
bluetooth-496d4c03cd74c91d5a1108a6ec36686fc765da62.zip
Change-Id: Ic8488184a7c66111064ae1c55c57b2f4c227614f Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r--src/bluetooth-adapter.c10
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 */