]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix calculation of SCO handle for packet processing
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Mar 2020 15:28:39 +0000 (16:28 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 7 Mar 2020 07:50:15 +0000 (09:50 +0200)
commita584807099f8c2f7608d47d7b65d5009482943fe
treecea7fdac40de4bf339921fdf00099c9f7969c104
parenta9a483f28f5f4b8955aac3c3ba7752d6c709a2e7
Bluetooth: Fix calculation of SCO handle for packet processing

When processing SCO packets, the handle is wrongly assumed as 16-bit
value. The actual size is 12-bits and the other 4-bits are used for
packet flags.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c