Revision d61000a8 hw/usb-ehci.c
b/hw/usb-ehci.c | ||
---|---|---|
1299 | 1299 |
|
1300 | 1300 |
if (q->usb_status < 0) { |
1301 | 1301 |
switch(q->usb_status) { |
1302 |
case USB_RET_IOERROR: |
|
1302 | 1303 |
case USB_RET_NODEV: |
1303 | 1304 |
q->qh.token |= (QTD_TOKEN_HALT | QTD_TOKEN_XACTERR); |
1304 | 1305 |
set_field(&q->qh.token, 0, QTD_TOKEN_CERR); |
... | ... | |
1471 | 1472 |
default: |
1472 | 1473 |
fprintf(stderr, "Unexpected iso usb result: %d\n", ret); |
1473 | 1474 |
/* Fall through */ |
1475 |
case USB_RET_IOERROR: |
|
1474 | 1476 |
case USB_RET_NODEV: |
1475 | 1477 |
/* 3.3.2: XACTERR is only allowed on IN transactions */ |
1476 | 1478 |
if (dir) { |
Also available in: Unified diff