summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usb.c b/src/usb.c
index df05b9d..6225bd5 100644
--- a/src/usb.c
+++ b/src/usb.c
@@ -296,6 +296,7 @@ static void get_serial_callback(struct libusb_transfer *transfer)
for (rx_loops = NUM_RX_LOOPS; rx_loops > 0; rx_loops--) {
if(start_rx_loop(usbdev) < 0) {
usbmuxd_log(LL_WARNING, "Failed to start RX loop number %d", NUM_RX_LOOPS - rx_loops);
+ break;
}
}