Bluetooth: hci_intel: Fix firmware file name to use hw_variant
authorTedd Ho-Jeong An <tedd.an@intel.com>
Mon, 6 Mar 2017 23:38:32 +0000 (15:38 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Apr 2017 20:02:37 +0000 (22:02 +0200)
commitb7da6a69defd195da66bfd6b35efeb376a252557
treee727e7868788c94df0c04269c240a6ec5bff2d49
parentde766142e3a5fcb67096e24ca4233a7f60999468
Bluetooth: hci_intel: Fix firmware file name to use hw_variant

The format of Intel Bluetooth firmware for bootloader product is
ibt-<hw_variant>-<device_revision_id>.sfi and .ddc.

This patch uses a hw_variant value read from the device during
runtime to form the firmware filenames instead of using a constant
value, so it can support multiple prouducts.

Signed-off-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_intel.c