OSDN Git Service

Bluetooth: fix off by one in err_data_reporting cmd masks.
authorAlain Michaud <alainm@chromium.org>
Wed, 11 Mar 2020 14:18:57 +0000 (14:18 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 11 Mar 2020 14:25:15 +0000 (15:25 +0100)
commit8a5956197d7eb7a0cbb5b4271111d1bf6e17f25c
treee7c9b17afc3d1a29a8735304f4b8bd6c689cba9d
parentbb0084ec893ebed123911e50c93f3b8ae8470531
Bluetooth: fix off by one in err_data_reporting cmd masks.

This change fixes the off by one error in the erroneous command bit
masks which can lead to the erroneous data commands being sent to a
controller that doesn't support them.

Signed-off-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_core.c