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:
88cda25
)
Don't call the write request callback in descriptor
69/231269/1
author
DoHyun Pyun
<dh79.pyun@samsung.com>
Tue, 21 Apr 2020 00:47:40 +0000
(09:47 +0900)
committer
DoHyun Pyun
<dh79.pyun@samsung.com>
Tue, 21 Apr 2020 00:47:40 +0000
(09:47 +0900)
The write method for descriptor is not the fd based.
So bt-service sends the event for write request.
Change-Id: If53b3dd33507aba4cc7190fb3f4413f5801e1830
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/bluetooth-gatt.c
patch
|
blob
|
history
diff --git
a/src/bluetooth-gatt.c
b/src/bluetooth-gatt.c
index
8ac60c1
..
bb20e53
100644
(file)
--- a/
src/bluetooth-gatt.c
+++ b/
src/bluetooth-gatt.c
@@
-4013,7
+4013,6
@@
int bt_gatt_client_write_value(bt_gatt_h gatt_handle,
desc->write_cb = callback;
desc->write_user_data = user_data;
}
- desc->write_cb(ret, gatt_handle, user_data);
} else {
BT_ERR("Invalid handle type for write ");
}