[USBEHCI]: Straggler fix.

svn path=/trunk/; revision=59528
This commit is contained in:
Alex Ionescu 2013-07-20 00:13:59 +00:00
parent df2c8e140c
commit 89bc3d9a83

View file

@ -1124,15 +1124,11 @@ CUSBHardwareDevice::SetPortFeature(
ULONG PortId,
ULONG Feature)
{
ULONG Value;
DPRINT("CUSBHardwareDevice::SetPortFeature\n");
if (PortId > m_Capabilities.HCSParams.PortCount)
return STATUS_UNSUCCESSFUL;
Value = EHCI_READ_REGISTER_ULONG(EHCI_PORTSC + (4 * PortId));
if (Feature == PORT_ENABLE)
{
//