]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_core: Rate limit the logging of invalid SCO handle
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 25 Jan 2022 19:15:37 +0000 (11:15 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 25 Jan 2022 21:40:31 +0000 (22:40 +0100)
commit613540a9366105d54c47535d799b4c7d18adc68b
treef84647ee5d90df6ad6ff405ea2c327b714d5661d
parent911b983bc55ca164bd32677e9197ec93af77b1fe
Bluetooth: hci_core: Rate limit the logging of invalid SCO handle

The invalid SCO handle error is normally caused by a race in the USB
transport where the data and event happen to be 2 different endpoints
so the event carrying the SCO handle is processed after its data.

Note: This can probably be resolved with use of force_poll_sync
debugfs.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_core.c