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:
eric_tian 2009-05-06 04:26:30 +00:00
parent 8b85412a1d
commit c255449e63
1 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ UsbGetInterface (
EfiUsbDataIn, EfiUsbDataIn,
PcdGet32 (PcdUsbTransferTimeoutValue), PcdGet32 (PcdUsbTransferTimeoutValue),
AlternateSetting, AlternateSetting,
2, 1,
Status Status
); );
} }
@ -295,7 +295,7 @@ UsbGetConfiguration (
EfiUsbDataIn, EfiUsbDataIn,
PcdGet32 (PcdUsbTransferTimeoutValue), PcdGet32 (PcdUsbTransferTimeoutValue),
ConfigurationValue, ConfigurationValue,
2, 1,
Status Status
); );
} }