提交 9cd04ccf 编写于 作者: G Gerd Hoffmann

usb: mtp: drop data-out hexdump

Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: NPeter Wu <peter@lekensteyn.nl>
Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
上级 457d397a
......@@ -1011,8 +1011,7 @@ static void usb_mtp_handle_data(USBDevice *dev, USBPacket *p)
usb_mtp_command(s, &cmd);
break;
default:
iov_hexdump(p->iov.iov, p->iov.niov, stderr, "mtp-out", 32);
trace_usb_mtp_stall(s->dev.addr, "TODO: implement data-out");
/* not needed as long as the mtp device is read-only */
p->status = USB_RET_STALL;
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册