diff --git a/drivers/hid/hidusb/hidusb.c b/drivers/hid/hidusb/hidusb.c index 6cd930148fe..799dfd24851 100644 --- a/drivers/hid/hidusb/hidusb.c +++ b/drivers/hid/hidusb/hidusb.c @@ -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