summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
diff options
context:
space:
mode:
authorxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-24 05:32:34 +0000
committerxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-24 05:32:34 +0000
commit84909ad446e02f16dce9b8f6541a038d7c378fab (patch)
tree0c60045b6355feb6a105ed27b146e084cbfc60ae /MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
parente2100bfa651cd0d1295ef13451b9cf4adddb8bfa (diff)
downloadedk2-platforms-84909ad446e02f16dce9b8f6541a038d7c378fab.tar.xz
1. update MatchUsbWwid() to check Vendor Id, Product Id and Interface Number.
2. update SerialNumber comparing logic to handle possible NULL-terminator in WWID device path 3. fix bug in UsbIo->UsbIoGetSupportedLanguages(): TableSize is size in bytes of LangIDTable instead of number of LangID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11197 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h')
-rw-r--r--MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
index ff04103be9..5d5535185c 100644
--- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
+++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
@@ -596,7 +596,7 @@ UsbIoGetEndpointDescriptor (
@param This The USB IO instance.
@param LangIDTable The table to return the language IDs.
- @param TableSize The number of supported languanges.
+ @param TableSize The size, in bytes, of the table LangIDTable.
@retval EFI_SUCCESS The language ID is return.