]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix L2CAP ACL packet PB(Packet Boundary) flag for LE PDU.
authorTakanori Watanabe <takawata@FreeBSD.org>
Fri, 17 Jul 2020 15:50:03 +0000 (15:50 +0000)
committerTakanori Watanabe <takawata@FreeBSD.org>
Fri, 17 Jul 2020 15:50:03 +0000 (15:50 +0000)
commitb8c46d561e33905d00acf44dd350206e0a818d4a
treeb63ec04146be2ed93ea80431faa27e787c3adf90
parent7f0ad2274be0a7f6050a65bb159dbdf0c5918a58
Fix L2CAP ACL packet PB(Packet Boundary) flag for LE PDU.

ACL packet boundary flag should be 0 instead of 2 for LE PDU.
Some HCI will drop LE packet with PB flag is 2, and if sent,
some target may reject the packet.

PR: 248024
Reported by: Greg V
Reviewed by: Greg V, emax
Differential Revision: https://reviews.freebsd.org/D25704
sys/netgraph/bluetooth/include/ng_hci.h
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c