From 1cd4bea9cb46dba6f7ec2e54eb966ff90bf3fe70 Mon Sep 17 00:00:00 2001 From: Zijun Hu Date: Wed, 26 Aug 2026 13:47:54 -0400 Subject: Bluetooth: hci_sync: Use bt_dev_err() to log error message in hci_update_event_filter_sync() [ Upstream commit da0186f19a7433d3d5607b0f61e9a3de17d1f721 ] Use bt_dev_err() instead of bt_dev_dbg() to log error message in hci_update_event_filter_sync(). Signed-off-by: Zijun Hu Signed-off-by: Luiz Augusto von Dentz Stable-dep-of: f57b399c4fa1 ("Bluetooth: hci_sync: Fix accept list UAF during suspend") Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- net/bluetooth/hci_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c index ec99b0812580..62d53d1743bf 100644 --- a/net/bluetooth/hci_sync.c +++ b/net/bluetooth/hci_sync.c @@ -6239,7 +6239,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; -- cgit v1.2.3