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:
Grzegorz Kolodziejczyk 2015-09-04 14:35:26 +02:00 committed by Anas Nashif
commit 798db87306

View file

@ -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) {