]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c
1. update MatchUsbWwid() to check Vendor Id, Product Id and Interface Number.
authorxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Dec 2010 05:32:34 +0000 (05:32 +0000)
committerxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Dec 2010 05:32:34 +0000 (05:32 +0000)
commit84909ad446e02f16dce9b8f6541a038d7c378fab
tree0c60045b6355feb6a105ed27b146e084cbfc60ae
parente2100bfa651cd0d1295ef13451b9cf4adddb8bfa
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
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c