From: DoHyun Pyun Date: Tue, 21 Apr 2020 00:47:40 +0000 (+0900) Subject: Don't call the write request callback in descriptor X-Git-Tag: submit/tizen_5.5/20200713.015132^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25d98ccdef394e6771cb1c1fc90d17a959c7626d;p=platform%2Fcore%2Fapi%2Fbluetooth.git Don't call the write request callback in descriptor 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 --- 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 "); }