mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-22 20:35:57 +08:00
android/gatt: Fix not sending notification for signed write
Signed write has no response and notificatino should be send to Android Framework in case of write succeed.
This commit is contained in:
parent
897025255d
commit
688218cd94
@ -3092,7 +3092,8 @@ failed:
|
||||
* of error and write with no response
|
||||
*/
|
||||
if (status != HAL_STATUS_SUCCESS ||
|
||||
cmd->write_type == GATT_WRITE_TYPE_NO_RESPONSE) {
|
||||
cmd->write_type == GATT_WRITE_TYPE_NO_RESPONSE ||
|
||||
cmd->write_type == GATT_WRITE_TYPE_SIGNED) {
|
||||
int32_t gatt_status = (status == HAL_STATUS_SUCCESS) ?
|
||||
GATT_SUCCESS : GATT_FAILURE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user