Revision 40197c35
b/usb-linux.c | ||
---|---|---|
312 | 312 |
} |
313 | 313 |
return; |
314 | 314 |
} |
315 |
if (errno == ENODEV && !s->closing) { |
|
316 |
trace_usb_host_disconnect(s->bus_num, s->addr); |
|
317 |
do_disconnect(s); |
|
315 |
if (errno == ENODEV) { |
|
316 |
if (!s->closing) { |
|
317 |
trace_usb_host_disconnect(s->bus_num, s->addr); |
|
318 |
do_disconnect(s); |
|
319 |
} |
|
318 | 320 |
return; |
319 | 321 |
} |
320 | 322 |
|
Also available in: Unified diff