aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/ath3k.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bluetooth/ath3k.c')
-rw-r--r--drivers/bluetooth/ath3k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
index bc5cf90c5ff6..be571fef185d 100644
--- a/drivers/bluetooth/ath3k.c
+++ b/drivers/bluetooth/ath3k.c
@@ -367,7 +367,7 @@ static int ath3k_load_patch(struct usb_device *udev)
367 } 367 }
368 368
369 snprintf(filename, ATH3K_NAME_LEN, "ar3k/AthrBT_0x%08x.dfu", 369 snprintf(filename, ATH3K_NAME_LEN, "ar3k/AthrBT_0x%08x.dfu",
370 fw_version.rom_version); 370 le32_to_cpu(fw_version.rom_version));
371 371
372 ret = request_firmware(&firmware, filename, &udev->dev); 372 ret = request_firmware(&firmware, filename, &udev->dev);
373 if (ret < 0) { 373 if (ret < 0) {
@@ -429,7 +429,7 @@ static int ath3k_load_syscfg(struct usb_device *udev)
429 } 429 }
430 430
431 snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s", 431 snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
432 fw_version.rom_version, clk_value, ".dfu"); 432 le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
433 433
434 ret = request_firmware(&firmware, filename, &udev->dev); 434 ret = request_firmware(&firmware, filename, &udev->dev);
435 if (ret < 0) { 435 if (ret < 0) {