Bluetooth: GATT: Fix missing endianess conversion on include end-handle
Added missing conversion to CPU endianess for the include service end-handle. Signed-off-by: Fredrik Danebjer <fredrik@danebjer.com>
This commit is contained in:
parent
85c7eb5c7a
commit
c5b270e7b0
1 changed files with 1 additions and 1 deletions
|
@ -1609,7 +1609,7 @@ static uint8_t get_service_handles(const struct bt_gatt_attr *attr,
|
|||
return BT_GATT_ITER_STOP;
|
||||
}
|
||||
|
||||
include->end_handle = handle;
|
||||
include->end_handle = sys_cpu_to_le16(handle);
|
||||
|
||||
return BT_GATT_ITER_CONTINUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue