mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
[USBHID] Do not assert if the device was unplugged during an operation.
This commit is contained in:
parent
911031e840
commit
5f4cf8a716
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue