mirror of https://github.com/acidanthera/audk.git
fix the wrong data length. According to spec, to get interface and configuration descriptors, should pass 1 as data length.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8246 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8b85412a1d
commit
c255449e63
|
@ -190,7 +190,7 @@ UsbGetInterface (
|
|||
EfiUsbDataIn,
|
||||
PcdGet32 (PcdUsbTransferTimeoutValue),
|
||||
AlternateSetting,
|
||||
2,
|
||||
1,
|
||||
Status
|
||||
);
|
||||
}
|
||||
|
@ -295,7 +295,7 @@ UsbGetConfiguration (
|
|||
EfiUsbDataIn,
|
||||
PcdGet32 (PcdUsbTransferTimeoutValue),
|
||||
ConfigurationValue,
|
||||
2,
|
||||
1,
|
||||
Status
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue