mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +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)
|
if (MiniPortInterface->Packet.MiniPortFlags & USB_MINIPORT_FLAGS_USB2)
|
||||||
{
|
{
|
||||||
FdoExtension->Usb2Extension =
|
FdoExtension->Usb2Extension =
|
||||||
(PUSB2_HC_EXTENSION)FdoExtension->MiniPortExt +
|
(PUSB2_HC_EXTENSION)((ULONG_PTR)FdoExtension->MiniPortExt +
|
||||||
MiniPortInterface->Packet.MiniPortExtensionSize;
|
MiniPortInterface->Packet.MiniPortExtensionSize);
|
||||||
|
|
||||||
DPRINT("USBPORT_AddDevice: Usb2Extension - %p\n",
|
DPRINT("USBPORT_AddDevice: Usb2Extension - %p\n",
|
||||||
FdoExtension->Usb2Extension);
|
FdoExtension->Usb2Extension);
|
||||||
|
|
Loading…
Reference in a new issue