diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2020-04-21 09:47:40 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2020-07-13 10:25:27 +0900 |
commit | 25d98ccdef394e6771cb1c1fc90d17a959c7626d (patch) | |
tree | 5bcb48c554c5d878993f7a0564df0bcd3dc4b817 | |
parent | 2e084a5a1d75e63b6798c9cfada1a701feff2ae4 (diff) | |
download | bluetooth-tizen_5.5_wearable_hotfix.tar.gz bluetooth-tizen_5.5_wearable_hotfix.tar.bz2 bluetooth-tizen_5.5_wearable_hotfix.zip |
Don't call the write request callback in descriptorsubmit/tizen_5.5_wearable_hotfix/20201026.184302submit/tizen_5.5/20200713.015132accepted/tizen/5.5/unified/wearable/hotfix/20201027.121800accepted/tizen/5.5/unified/20200713.021945tizen_5.5_wearable_hotfixaccepted/tizen_5.5_unified_wearable_hotfix
The write method for descriptor is not the fd based.
So bt-service sends the event for write request.
Change-Id: I240d9937638a09cc8a50053b0838d1e6fd2d3cb7
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r-- | src/bluetooth-gatt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bluetooth-gatt.c b/src/bluetooth-gatt.c index 7099add..860112c 100644 --- a/src/bluetooth-gatt.c +++ b/src/bluetooth-gatt.c @@ -3947,7 +3947,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 "); } |