projects
/
platform
/
core
/
api
/
bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82b0603
)
Add "not supported" check logic in the device API
10/161210/1
accepted/tizen/4.0/unified/20171124.063545
submit/tizen_4.0/20171122.070346
author
DoHyun Pyun
<dh79.pyun@samsung.com>
Wed, 22 Nov 2017 06:49:33 +0000
(15:49 +0900)
committer
DoHyun Pyun
<dh79.pyun@samsung.com>
Wed, 22 Nov 2017 06:50:05 +0000
(15:50 +0900)
Change-Id: I790ad6a41109d9a29ba5a4c3ac4e4ffddd208d31
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/bluetooth-device.c
patch
|
blob
|
history
diff --git
a/src/bluetooth-device.c
b/src/bluetooth-device.c
index 98edb2c8ff4ecfd23e9411fcb65808fe46da0ce4..a8de42fbc70fa5008ce8a06214c666411693e561 100644
(file)
--- a/
src/bluetooth-device.c
+++ b/
src/bluetooth-device.c
@@
-743,6
+743,8
@@
int bt_device_update_le_connection_mode(const char *remote_address, bt_device_le
int ret;
bluetooth_device_address_t addr_hex = { {0,} };
+ BT_CHECK_SUPPORTED_FEATURE(BT_FEATURE_COMMON);
+ BT_CHECK_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(remote_address);
if (mode < BT_DEVICE_LE_CONNECTION_MODE_BALANCED ||