Bluetooth: Fix foreach attr lower range for att exec write
The minimal/start valid handle value is 1. Change-Id: Ief3be01d0bf76193350b7632aedebc559d368810 Signed-off-by: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>
This commit is contained in:
parent
eba54d6610
commit
798db87306
1 changed files with 1 additions and 1 deletions
|
@ -1118,7 +1118,7 @@ static uint8_t att_exec_write_rsp(struct bt_conn *conn, uint8_t flags)
|
|||
data.flags = flags;
|
||||
|
||||
/* Apply to the whole database */
|
||||
bt_gatt_foreach_attr(0x0000, 0xffff, flush_cb, &data);
|
||||
bt_gatt_foreach_attr(0x0001, 0xffff, flush_cb, &data);
|
||||
|
||||
/* In case of error discard data */
|
||||
if (data.err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue