]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btusb: Fix failing to init controllers with operation firmware
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 30 Apr 2021 23:05:01 +0000 (16:05 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 3 Jun 2021 21:02:17 +0000 (14:02 -0700)
commit948f3be1868634d2ea990f6c4bdd79347c6c8595
treed943367014764050cebcc1d6198e1004c683342e
parentcb87f8c9fe963a329efc9966b6e3a6041e37686c
Bluetooth: btusb: Fix failing to init controllers with operation firmware

Some firmware when operation don't may have broken versions leading to
error like the following:

[    6.176482] Bluetooth: hci0: Firmware revision 0.0 build 121 week 7 2021
[    6.177906] bluetooth hci0: Direct firmware load for intel/ibt-20-0-0.sfi failed with error -2
[    6.177910] Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-20-0-0.sfi (-2)

Since we load the firmware file just to check if its version had changed
comparing to the one already loaded we can just skip since the firmware
is already operation.

Fixes: 883c19948a031 ("Bluetooth: btintel: Check firmware version before
download")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c