Skip to content

Commit

Permalink
Revert "Stop USB enumeration in case a malformed descriptor is found (#…
Browse files Browse the repository at this point in the history
…410)"

This reverts commit 714d41b.

Some devices are dependent on this functionality and can be important
sources of input during boot. Until a more robust solution is devised
that can support these devices, this change is reverted.

Signed-off-by: Michael Kubacki <[email protected]>
  • Loading branch information
makubacki committed Jul 18, 2023
1 parent 70a4fa5 commit 5eacd83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ UsbParseConfigDesc (

if (Setting == NULL) {
DEBUG ((DEBUG_ERROR, "UsbParseConfigDesc: warning: failed to get interface setting, stop parsing now.\n"));
goto ON_ERROR; // MU_CHANGE
break;
} else if (Setting->Desc.InterfaceNumber >= NumIf) {
DEBUG ((DEBUG_ERROR, "UsbParseConfigDesc: malformatted interface descriptor\n"));

Expand Down

0 comments on commit 5eacd83

Please sign in to comment.