From 3a84092696bf17e6927b63a0040246b1e65c87d1 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Thu, 31 Jan 2019 11:24:35 +0900 Subject: [PATCH] Modify the supported check logic for common gatt functions Change-Id: I9e0ca1fa78a0439f6740d219ed16944f0d0f52dd Signed-off-by: DoHyun Pyun --- src/bluetooth-gatt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bluetooth-gatt.c b/src/bluetooth-gatt.c index 3407235..115a750 100644 --- a/src/bluetooth-gatt.c +++ b/src/bluetooth-gatt.c @@ -1899,7 +1899,7 @@ int bt_gatt_service_create(const char *uuid, bt_gatt_service_type_e type, { bt_gatt_service_s *svc; - BT_CHECK_GATT_SERVER_SUPPORT(); + BT_CHECK_GATT_SUPPORT(); BT_CHECK_INIT_STATUS(); BT_CHECK_INPUT_PARAMETER(uuid); @@ -2194,7 +2194,7 @@ int bt_gatt_characteristic_create(const char *uuid, int permissions, int ret = BT_ERROR_NONE; bt_gatt_characteristic_s *chr = NULL; - BT_CHECK_GATT_SERVER_SUPPORT(); + BT_CHECK_GATT_SUPPORT(); BT_CHECK_INIT_STATUS(); BT_CHECK_INPUT_PARAMETER(uuid); @@ -2486,7 +2486,7 @@ int bt_gatt_descriptor_create(const char *uuid, int permissions, int ret = BT_ERROR_NONE; bt_gatt_descriptor_s *desc = NULL; - BT_CHECK_GATT_SERVER_SUPPORT(); + BT_CHECK_GATT_SUPPORT(); BT_CHECK_INIT_STATUS(); BT_CHECK_INPUT_PARAMETER(uuid); -- 2.7.4