diff --git a/net/bluetooth/att.c b/net/bluetooth/att.c index de9b3f9831..d9f951d9c9 100644 --- a/net/bluetooth/att.c +++ b/net/bluetooth/att.c @@ -1023,6 +1023,7 @@ static uint8_t att_exec_write_rsp(struct bt_conn *conn, uint8_t flags) return BT_ATT_ERR_UNLIKELY; } + data.conn = conn; data.flags = flags; /* Apply to the whole database */