mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[USBPORT] Fixing calculation pointer for FdoExtension->Usb2Extension.
This commit is contained in:
parent
7b92b8a6e2
commit
9426d2986d
1 changed files with 2 additions and 2 deletions
|
@ -1907,8 +1907,8 @@ USBPORT_AddDevice(IN PDRIVER_OBJECT DriverObject,
|
|||
if (MiniPortInterface->Packet.MiniPortFlags & USB_MINIPORT_FLAGS_USB2)
|
||||
{
|
||||
FdoExtension->Usb2Extension =
|
||||
(PUSB2_HC_EXTENSION)FdoExtension->MiniPortExt +
|
||||
MiniPortInterface->Packet.MiniPortExtensionSize;
|
||||
(PUSB2_HC_EXTENSION)((ULONG_PTR)FdoExtension->MiniPortExt +
|
||||
MiniPortInterface->Packet.MiniPortExtensionSize);
|
||||
|
||||
DPRINT("USBPORT_AddDevice: Usb2Extension - %p\n",
|
||||
FdoExtension->Usb2Extension);
|
||||
|
|
Loading…
Reference in a new issue