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:
Lwazi Dube 2023-04-22 21:46:46 -04:00 committed by Xiang Xiao
parent 13cdffd302
commit 129a0703c4
1 changed files with 1 additions and 3 deletions

View File

@ -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;