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:
@@ -190,7 +190,7 @@ UsbGetInterface (
|
||||
EfiUsbDataIn,
|
||||
PcdGet32 (PcdUsbTransferTimeoutValue),
|
||||
AlternateSetting,
|
||||
2,
|
||||
1,
|
||||
Status
|
||||
);
|
||||
}
|
||||
@@ -295,7 +295,7 @@ UsbGetConfiguration (
|
||||
EfiUsbDataIn,
|
||||
PcdGet32 (PcdUsbTransferTimeoutValue),
|
||||
ConfigurationValue,
|
||||
2,
|
||||
1,
|
||||
Status
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user