Skip to content

Commit 2761c3a

Browse files
joschockapop5
authored andcommitted
Adjust error recovery flow to avoid assert if re-submission of aysnc interrupt fails.
1 parent 8285ec4 commit 2761c3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

HidPkg/UsbHidDxe/UsbHidDxe.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,9 @@ DelayedRecoveryHandler (
455455
OnReportInterruptComplete,
456456
UsbHidDev
457457
);
458-
ASSERT_EFI_ERROR (Status);
458+
if (EFI_ERROR (Status)) {
459+
DEBUG ((DEBUG_ERROR, "USB [%a] failed to re-submit async transfer: %r\n", __func__, Status));
460+
}
459461
}
460462

461463
/**

0 commit comments

Comments
 (0)