mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 16:50:21 +00:00
bluetooth: Fix the Unexpected ACL flags error
This change fixes a bug that was introduced when a 16 bit handle was changed into a 12 bit bitfield without adapting the rest of the stack.
This commit is contained in:
parent
13cdffd302
commit
129a0703c4
1 changed files with 1 additions and 3 deletions
|
|
@ -289,9 +289,7 @@ begin_packed_struct struct bt_hci_evt_hdr_s
|
|||
|
||||
begin_packed_struct struct bt_hci_acl_hdr_s
|
||||
{
|
||||
uint16_t handle : 12;
|
||||
uint16_t packet_boundary : 2;
|
||||
uint16_t broadcast : 2;
|
||||
uint16_t handle;
|
||||
uint16_t len;
|
||||
} end_packed_struct;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue