]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: log advertisement packet length if it gets corrected
authorDaniels Umanovskis <du@axentia.se>
Thu, 9 Apr 2020 11:18:29 +0000 (13:18 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 9 Apr 2020 17:57:28 +0000 (19:57 +0200)
commit5a7b27222ec2b4c28a906f271869ffdb05fabcab
tree3fd0ba80c03e0802cbc6b06d20d1e099be86c340
parent3cd7a9846f7a653faaae10e4092304175b9ecec2
Bluetooth: log advertisement packet length if it gets corrected

The error could indicate a problem with the Bluetooth device. It
is easier to investigate if the packet's actual length gets logged,
not just the fact that a discrepancy occurred.

Signed-off-by: Daniels Umanovskis <du@axentia.se>
Reviewed-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c