From f3b08f09738088e0594ba9abce72e9584a5760f3 Mon Sep 17 00:00:00 2001 From: Xiuzhuo Shang Date: Tue, 9 Jun 2026 13:28:05 +0800 Subject: [PATCH] FROMGIT: Bluetooth: qca: Add BT FW build version to kernel log Firmware version is critical for bug triage. Users reporting issues typically share dmesg output rather than debugfs contents, requiring extra communication rounds to collect this information. Log the FW build version directly to the kernel log so it is immediately available in bug reports. Example output: Bluetooth: hci0: QCA FW build version: BTFW.MOSELLE.1.1.3-00106-MSL_PATCHZ-1 Fixes: qualcomm-linux/kernel@bdea21b ("Bluetooth: qca: Add BT FW build version to kernel log") Reviewed-by: Paul Menzel Reviewed-by: Bartosz Golaszewski Reviewed-by: Dmitry Baryshkov Signed-off-by: Xiuzhuo Shang Link: https://lore.kernel.org/all/f7fb6e2c-839f-460c-8d35-2d97417a4636@oss.qualcomm.com/ --- drivers/bluetooth/btqca.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bluetooth/btqca.c b/drivers/bluetooth/btqca.c index 95394586a84b6..1432f708bb057 100644 --- a/drivers/bluetooth/btqca.c +++ b/drivers/bluetooth/btqca.c @@ -143,6 +143,8 @@ static int qca_read_fw_build_info(struct hci_dev *hdev) hci_set_fw_info(hdev, "%s", build_label); + bt_dev_info(hdev, "QCA FW build version: %s", build_label); + kfree(build_label); out: kfree_skb(skb);