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)
commit943d5d92c5e87aa8293aae6de2b3ee977aa7d3cf
tree3fd0ba80c03e0802cbc6b06d20d1e099be86c340
parentffee202a78c2980688bc5d2f7d56480e69a5e0c9
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