[PW_SID:1085337] Bluetooth: btusb: deal with MT7925 invalid ISO RX packets#122
[PW_SID:1085337] Bluetooth: btusb: deal with MT7925 invalid ISO RX packets#122BluezTestBot wants to merge 1 commit intoworkflowfrom
Conversation
MT7925 produces empty ISO packets for Handle 0 when RX is active: > ISO Data RX: Handle 0 SN 36734 flags 0x00 dlen 0 slen 58 #851 [hci0] > ISO Data RX: Handle 0 SN 36734 flags 0x00 dlen 0 slen 58 #852 [hci0] The driver should filter these out before passing to hci_core, otherwise it will printk "Bluetooth: hci0: ISO packet for unknown connection handle 0" errors. Filter out by adding hdev->classify_pkt_type Signed-off-by: Pauli Virtanen <pav@iki.fi>
|
CheckPatch |
|
GitLint |
|
SubjectPrefix |
|
BuildKernel |
|
CheckAllWarning |
|
CheckSparse |
|
BuildKernel32 |
|
TestRunnerSetup |
|
IncrementalBuild |
MT7925 produces empty ISO packets for Handle 0 when RX is active:
The driver should filter these out before passing to hci_core, otherwise
it will printk "Bluetooth: hci0: ISO packet for unknown connection
handle 0" errors.
Filter out by adding hdev->classify_pkt_type
Signed-off-by: Pauli Virtanen pav@iki.fi
drivers/bluetooth/btmtk.c | 13 +++++++++++++
drivers/bluetooth/btmtk.h | 8 ++++++++
drivers/bluetooth/btusb.c | 1 +
3 files changed, 22 insertions(+)