Bluetooth: Fix NULL pointer dereference in flush_cb
conn was never set in struct flush_data passed to flush_cb. Change-Id: I2a16479bf7660a96f705d1194245da02ee6eeff5 Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
This commit is contained in:
parent
b85f2e8264
commit
b47d14a273
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue