summaryrefslogtreecommitdiffstats
path: root/libirecovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'libirecovery.c')
-rw-r--r--libirecovery.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libirecovery.c b/libirecovery.c
index c9e5949..58ef080 100644
--- a/libirecovery.c
+++ b/libirecovery.c
@@ -762,10 +762,11 @@ irecv_error_t irecv_receive(irecv_client_t client) {
762 return IRECV_E_SUCCESS; 762 return IRECV_E_SUCCESS;
763 } 763 }
764 } 764 }
765 if (bytes < BUFFER_SIZE) break;
765 } else break; 766 } else break;
766 } 767 }
767 768
768 // pod2g 2010-12-28: MacOSX need a reset if read times out 769 // pod2g 2010-12-28: MacOSX need a reset if read times out, also the reset seems to improve stability when switching interfaces
769 irecv_reset(client); 770 irecv_reset(client);
770 irecv_set_interface(client, 1, 1); 771 irecv_set_interface(client, 1, 1);
771 return IRECV_E_SUCCESS; 772 return IRECV_E_SUCCESS;