DFU Runtime: Add missing return after handling USB standard requests

the same as 479e97e338 but this time for
the runtime, not for DFU.
This commit is contained in:
Harald Welte 2017-03-03 00:36:39 +01:00
parent e8eea29cf6
commit b04f4f0ee8
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ void USBDFU_Runtime_RequestHandler(const USBGenericRequest *request)
USBGenericRequest_GetRecipient(request) != USBGenericRequest_INTERFACE) {
TRACE_DEBUG("std_ho_usbd ");
USBDDriver_RequestHandler(usbdDriver, request);
return;
}
switch (g_dfu->state) {