mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08: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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user