]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Bluetooth: qca: Add BT FW build version to kernel log
authorXiuzhuo Shang <xiuzhuo.shang@oss.qualcomm.com>
Wed, 10 Jun 2026 06:42:32 +0000 (14:42 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 11 Jun 2026 18:24:41 +0000 (14:24 -0400)
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.

Acked-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Xiuzhuo Shang <xiuzhuo.shang@oss.qualcomm.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btqca.c

index dda76365726f0bfe0e80e05fe04859fa4f0592e1..04ebe290bc784ea854ec7743bc753c3e41f556d3 100644 (file)
@@ -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);