Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bluetooth: hci_core: Rate limit the logging of invalid ISO handle

Some controller firmwares (eg for MT7925) continuously send invalid ISO
packet, which result to "ISO unknown handle" error spam in logs. It's
not important to show all of them to the user.

Rate limit these ISO error messages, similarly as we do for SCO.

Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

authored by

Pauli Virtanen and committed by
Luiz Augusto von Dentz
edef6576 1f2ac009

+2 -2
+2 -2
net/bluetooth/hci_core.c
··· 3917 3917 3918 3918 err = iso_recv(hdev, handle, skb, flags); 3919 3919 if (err == -ENOENT) 3920 - bt_dev_err(hdev, "ISO packet for unknown connection handle %d", 3921 - handle); 3920 + bt_dev_err_ratelimited(hdev, "ISO packet for unknown connection handle %d", 3921 + handle); 3922 3922 else if (err) 3923 3923 bt_dev_dbg(hdev, "ISO packet recv for handle %d failed: %d", 3924 3924 handle, err);