aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiran K <[email protected]>2021-08-31 13:00:04 +0000
committerMarcel Holtmann <[email protected]>2021-08-31 13:34:51 +0000
commit15a91f918597da9a1c11a913cee8e37f3ca5dd3c (patch)
treec03377eecb7f758d096aff18fc384ecc99b838f8
parentBluetooth: Fix using RPA when address has been resolved (diff)
downloadkernel-15a91f918597da9a1c11a913cee8e37f3ca5dd3c.tar.gz
kernel-15a91f918597da9a1c11a913cee8e37f3ca5dd3c.zip
Bluetooth: btintel: Fix boot address
Cache Boot address present in firmware file which is later used in Intel_Soft_Reset command to bring controller from boot mode to operational mode. Signed-off-by: Kiran K <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
-rw-r--r--drivers/bluetooth/btintel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/bluetooth/btintel.c b/drivers/bluetooth/btintel.c
index 778d803159f3..14360370a2ac 100644
--- a/drivers/bluetooth/btintel.c
+++ b/drivers/bluetooth/btintel.c
@@ -1037,8 +1037,9 @@ static bool btintel_firmware_version(struct hci_dev *hdev,
params = (void *)(fw_ptr + sizeof(*cmd));
- bt_dev_info(hdev, "Boot Address: 0x%x",
- le32_to_cpu(params->boot_addr));
+ *boot_addr = le32_to_cpu(params->boot_addr);
+
+ bt_dev_info(hdev, "Boot Address: 0x%x", *boot_addr);
bt_dev_info(hdev, "Firmware Version: %u-%u.%u",
params->fw_build_num, params->fw_build_ww,