diff --git a/src/usb_gadget.c b/src/usb_gadget.c index 6f7e5a7..87a446d 100644 --- a/src/usb_gadget.c +++ b/src/usb_gadget.c @@ -498,8 +498,6 @@ static void handle_setup_request(usb_gadget * ctx, struct usb_ctrlrequest* setup case MTP_REQ_CANCEL: PRINT_DEBUG("MTP_REQ_CANCEL !"); - status = read (ctx->usb_device, &status, 0); - mtp_context->cancel_req = 1; cnt = 0;