aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/block/rnull/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com
diff options
context:
space:
mode:
authorShuai Zhang <shuai.zhang@oss.qualcomm.com>2026-05-21 13:25:47 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-05-27 16:44:02 -0400
commit82855073c1081732656734b74d7d1d5e4cfd0da7 (patch)
tree911e879139be96bf88fe93006da091920e113edb /drivers/block/rnull/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com
parentBluetooth: HIDP: fix missing length checks in hidp_input_report() (diff)
Bluetooth: btusb: Allow firmware re-download when version matches
The Bluetooth host decides whether to download firmware by reading the controller firmware download completion flag and firmware version information. If a USB error occurs during the firmware download process (for example due to a USB disconnect), the download is aborted immediately. An incomplete firmware transfer does not cause the controller to set the download completion flag, but the firmware version information may be updated at an early stage of the download process. In this case, after USB reconnection, the host attempts to re-download the firmware because the download completion flag is not set. However, since the controller reports the same firmware version as the target firmware, the download is skipped. This ultimately results in the firmware not being properly updated on the controller. This change removes the restriction that skips firmware download when the versions are equal. It covers scenarios where the USB connection can be disconnected at any time and ensures that firmware download can be retriggered after USB reconnection, allowing the Bluetooth firmware to be correctly and completely updated. Fixes: 3267c884cefa ("Bluetooth: btusb: Add support for QCA ROME chipset family") Cc: stable@vger.kernel.org Signed-off-by: Shuai Zhang <shuai.zhang@oss.qualcomm.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/block/rnull/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions