diff --git a/drivers/usb/usbehci_new/hub_controller.cpp b/drivers/usb/usbehci_new/hub_controller.cpp index 84d26f75f2c..a3f9c032367 100644 --- a/drivers/usb/usbehci_new/hub_controller.cpp +++ b/drivers/usb/usbehci_new/hub_controller.cpp @@ -1461,7 +1461,7 @@ CHubController::AcquireDeviceAddress() // // reserve address // - RtlSetBit(&m_DeviceAddressBitmap, DeviceAddress); + RtlSetBits(&m_DeviceAddressBitmap, DeviceAddress, 1); // // device addresses start from 0x1 - 0xFF @@ -1504,7 +1504,7 @@ CHubController::ReleaseDeviceAddress( // // clear bit // - RtlClearBit(&m_DeviceAddressBitmap, DeviceAddress); + RtlClearBits(&m_DeviceAddressBitmap, DeviceAddress, 1); // // release lock