response_needed should be true in case opcode is EXEC_WRITE_REQ.
EXEC_WRITE_REQ is used if the data size to write is bigger than
mtu size. otherwise, WRITE_REQ is used.
Change-Id: Ie9fbbeae9c0f0148c5dbd4938dafb1dbc6078cc2
dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &addr_value);
dbus_message_iter_append_basic(iter, DBUS_TYPE_UINT32, &op->id);
dbus_message_iter_append_basic(iter, DBUS_TYPE_UINT16, &op->offset);
- if (op->opcode == BT_ATT_OP_WRITE_REQ)
+ if (op->opcode == BT_ATT_OP_WRITE_REQ || op->opcode == BT_ATT_OP_EXEC_WRITE_REQ)
response_needed = TRUE;
dbus_message_iter_append_basic(iter, DBUS_TYPE_BOOLEAN, &response_needed);
if (op->prep_authorize)