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:
033931a
)
Fix the gatt client wrong mtu cb unset issue
30/314530/1
author
Wootak Jung
<wootak.jung@samsung.com>
Mon, 15 Jul 2024 04:07:57 +0000
(13:07 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Mon, 15 Jul 2024 04:08:59 +0000
(13:08 +0900)
Change-Id: I16f6d1d6b70053005e93a5e9852e966f5a359b14
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/bluetooth-gatt.c
patch
|
blob
|
history
diff --git
a/src/bluetooth-gatt.c
b/src/bluetooth-gatt.c
index 4330f751039e6ca781cac9afdd0cf14a9ac8f19f..4ce8c324bfb94a3ebcd151b79a15e3eeaacffc6e 100644
(file)
--- a/
src/bluetooth-gatt.c
+++ b/
src/bluetooth-gatt.c
@@
-5551,8
+5551,8
@@
int bt_gatt_client_unset_att_mtu_changed_cb(bt_gatt_client_h client)
BT_CHECK_INPUT_PARAMETER(client);
BT_INFO("MTU Changed callback unregistered [%s]", client_s->remote_address); /* LCOV_EXCL_START */
- client_s->
service
_changed_cb = NULL;
- client_s->
service
_changed_user_data = NULL;
+ client_s->
att_mtu
_changed_cb = NULL;
+ client_s->
att_mtu
_changed_user_data = NULL;
return BT_ERROR_NONE;
} /* LCOV_EXCL_STOP */