diff options
author | Nikias Bassen | 2018-01-08 02:46:15 +0100 |
---|---|---|
committer | Nikias Bassen | 2018-01-08 02:46:15 +0100 |
commit | 17179ab58fac82a0dca48a5c88ef19c6c70ff8a5 (patch) | |
tree | 12ffa3863d792d5b9f2e33f421f8ea24a7b4bb6c /src | |
parent | 63cd3057a38c8daf49e839712f1f0bebd0046acb (diff) | |
download | usbmuxd-17179ab58fac82a0dca48a5c88ef19c6c70ff8a5.tar.gz usbmuxd-17179ab58fac82a0dca48a5c88ef19c6c70ff8a5.tar.bz2 |
usb: Fix calculation of RX loop count
Diffstat (limited to 'src')
-rw-r--r-- | src/usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } } |