mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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
|
// 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
|
// free the urb
|
||||||
|
|
Loading…
Reference in a new issue