]> git.proxmox.com Git - mirror_edk2.git/commitdiff
fix the wrong data length. According to spec, to get interface and configuration...
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 6 May 2009 04:26:30 +0000 (04:26 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 6 May 2009 04:26:30 +0000 (04:26 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8246 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/UefiUsbLib/UsbDxeLib.c

index a535c1f58dc18df24124be2be021f012f9108527..c27fb03499151329dcb31357cb09bb7aa47d9e29 100644 (file)
@@ -190,7 +190,7 @@ UsbGetInterface (
                   EfiUsbDataIn,\r
                   PcdGet32 (PcdUsbTransferTimeoutValue),\r
                   AlternateSetting,\r
-                  2,\r
+                  1,\r
                   Status\r
                   );\r
 }\r
@@ -295,7 +295,7 @@ UsbGetConfiguration (
                   EfiUsbDataIn,\r
                   PcdGet32 (PcdUsbTransferTimeoutValue),\r
                   ConfigurationValue,\r
-                  2,\r
+                  1,\r
                   Status\r
                   );\r
 }\r