Skip to content

Commit e3ed783

Browse files
hermabecarlescufi
authored andcommitted
Bluetooth: Host: Fix missing callback in bt_gatt_write_without_response
The meta data was not set on the buffer. Signed-off-by: Herman Berget <[email protected]>
1 parent bb7a67d commit e3ed783

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

subsys/bluetooth/host/gatt.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4413,6 +4413,8 @@ int bt_gatt_write_without_response_cb(struct bt_conn *conn, uint16_t handle,
44134413

44144414
BT_DBG("handle 0x%04x length %u", handle, length);
44154415

4416+
bt_att_set_tx_meta_data(buf, func, user_data);
4417+
44164418
return bt_att_send(conn, buf);
44174419
}
44184420

0 commit comments

Comments
 (0)