]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: guard against controllers sending zero'd events
authorAlain Michaud <alainm@chromium.org>
Tue, 3 Mar 2020 15:55:34 +0000 (15:55 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 4 Mar 2020 07:27:22 +0000 (08:27 +0100)
commit9bf543a81e117a2f4c599bec7363c27e3b5e43f8
tree22f7e6aa35c73e76c7f0015bbb1bce06b5fa6941
parente97b90cb94e4516f8f1c9216c7254eda5ac8b4c8
Bluetooth: guard against controllers sending zero'd events

Some controllers have been observed to send zero'd events under some
conditions.  This change guards against this condition as well as adding
a trace to facilitate diagnosability of this condition.

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