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.

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>
This commit is contained in:
Xiuzhuo Shang 2026-06-10 14:42:32 +08:00 committed by Luiz Augusto von Dentz
parent 88c2404a3c
commit bdea21b3be

View 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);