usb: mtp: fix version (is decimal not bcd)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
ada435f47e
commit
f7eaed8555
|
@ -533,7 +533,7 @@ static MTPData *usb_mtp_get_device_info(MTPState *s, MTPControl *c)
|
||||||
|
|
||||||
trace_usb_mtp_op_get_device_info(s->dev.addr);
|
trace_usb_mtp_op_get_device_info(s->dev.addr);
|
||||||
|
|
||||||
usb_mtp_add_u16(d, 0x0100);
|
usb_mtp_add_u16(d, 100);
|
||||||
usb_mtp_add_u32(d, 0xffffffff);
|
usb_mtp_add_u32(d, 0xffffffff);
|
||||||
usb_mtp_add_u16(d, 0x0101);
|
usb_mtp_add_u16(d, 0x0101);
|
||||||
usb_mtp_add_wstr(d, L"");
|
usb_mtp_add_wstr(d, L"");
|
||||||
|
|
Loading…
Reference in a new issue