]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Bluetooth: hci_sync: Use bt_dev_err() to log error message in hci_update_event_filter...
authorZijun Hu <zijun.hu@oss.qualcomm.com>
Mon, 23 Jun 2025 12:31:17 +0000 (20:31 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 23 Jul 2025 14:25:49 +0000 (10:25 -0400)
Use bt_dev_err() instead of bt_dev_dbg() to log error message in
hci_update_event_filter_sync().

Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_sync.c

index 7938c004071c497d87cda684f5852f1f05d77bad..956aea977f2af6f0d673db6ebc1557533c416c35 100644 (file)
@@ -6116,7 +6116,7 @@ static int hci_update_event_filter_sync(struct hci_dev *hdev)
                                                 &b->bdaddr,
                                                 HCI_CONN_SETUP_AUTO_ON);
                if (err)
-                       bt_dev_dbg(hdev, "Failed to set event filter for %pMR",
+                       bt_dev_err(hdev, "Failed to set event filter for %pMR",
                                   &b->bdaddr);
                else
                        scan = SCAN_PAGE;