mirror of
https://github.com/reactos/reactos.git
synced 2026-06-04 02:10:28 +08:00
[USBHID] Do not assert if the device was unplugged during an operation.
This commit is contained in:
@@ -453,7 +453,7 @@ HidUsb_ReadReportCompletion(
|
||||
//
|
||||
// FIXME handle error
|
||||
//
|
||||
ASSERT(Urb->UrbHeader.Status == USBD_STATUS_SUCCESS);
|
||||
ASSERT(Urb->UrbHeader.Status == USBD_STATUS_SUCCESS || Urb->UrbHeader.Status == USBD_STATUS_DEVICE_GONE);
|
||||
|
||||
//
|
||||
// free the urb
|
||||
|
||||
Reference in New Issue
Block a user