aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/usb/dev-mbim.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/usb/dev-mbim.c b/hw/usb/dev-mbim.c
index f7b4e9596..46e1a4046 100644
--- a/hw/usb/dev-mbim.c
+++ b/hw/usb/dev-mbim.c
@@ -90,12 +90,13 @@ static const uint8_t cdc_union[] = {
0x00, /* bMasterInterface 0 */
0x01, /* bSlaveInterface 1 */
};
+
static const uint8_t cdc_ethernet[] = {
- 0x10, /* bLength; */
+ 0x0d, /* bLength; */
0x21, /* bDescriptorType; Functional */
0x0f, /* bDescriptorSubType */
STR_MACADDRESS, /* iMacAddress */
- 0x00, /* bmEthernetStatistics 0x00000000 */
+ 0x00, 0x00, 0x00, 0x00, /* bmEthernetStatistics 0x00000000 */
0xea, 0x05, /* wMaxSegmentSize 1514 */
0x40, 0x80, /* wNumberMCFilters 0x8040 */
0x01, /* bNumberPowerFilters 1 */