[USBUHCI] Fix wrong sizeof access (#4070)

Reviewed-by: Victor Perevertkin <victor.perevertkin@reactos.org>
Reviewed-by: Thomas Faber <thomas.faber@reactos.org>
This commit is contained in:
Efe Itietie
2021-10-25 10:58:46 -07:00
committed by Stanislav Motylkov
parent feae6fbc64
commit c73c86419e

View File

@@ -241,7 +241,7 @@ UhciRHSetFeaturePortResetWorker(IN PUHCI_EXTENSION UhciExtension,
RegPacket.UsbPortRequestAsyncCallback(UhciExtension,
10, // TimerValue
pPort,
sizeof(pPort),
sizeof(*pPort),
UhciRHPortResetComplete);
}