From b04f4f0ee8fdcc90e5a77c8300ae0b87745f469d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 3 Mar 2017 00:36:39 +0100 Subject: [PATCH] DFU Runtime: Add missing return after handling USB standard requests the same as 479e97e3382f72da1959276d8ec3a9defc5b75f5 but this time for the runtime, not for DFU. --- firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c b/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c index b71a572d..baae3c44 100644 --- a/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c +++ b/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_runtime.c @@ -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) {