We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18e0821 + ec8dd95 commit 1f2db73Copy full SHA for 1f2db73
1 file changed
drivers/bluetooth/btusb.c
@@ -3475,7 +3475,10 @@ static int btusb_setup_qca_load_rampatch(struct hci_dev *hdev,
3475
"firmware rome 0x%x build 0x%x",
3476
rver_rom, rver_patch, ver_rom, ver_patch);
3477
3478
- if (rver_rom != ver_rom || rver_patch <= ver_patch) {
+ /* Allow rampatch if version is greater than or equal to firmware version.
3479
+ * Equal versions are acceptable for re-flashing or recovery scenarios.
3480
+ */
3481
+ if (rver_rom != ver_rom || rver_patch < ver_patch) {
3482
bt_dev_err(hdev, "rampatch file version did not match with firmware");
3483
err = -EINVAL;
3484
goto done;
0 commit comments