fixed memcpy link issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3203 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -120,7 +120,12 @@ UsbCreateInterface (
|
||||
UsbIf->Device = Device;
|
||||
UsbIf->IfDesc = IfDesc;
|
||||
UsbIf->IfSetting = IfDesc->Settings[IfDesc->ActiveIndex];
|
||||
UsbIf->UsbIo = mUsbIoProtocol;
|
||||
|
||||
CopyMem (
|
||||
&(UsbIf->UsbIo),
|
||||
&mUsbIoProtocol,
|
||||
sizeof (EFI_USB_IO_PROTOCOL)
|
||||
);
|
||||
|
||||
//
|
||||
// Install protocols for USBIO and device path
|
||||
|
Reference in New Issue
Block a user