summaryrefslogtreecommitdiffstats
path: root/iphone.c
diff options
context:
space:
mode:
Diffstat (limited to 'iphone.c')
-rw-r--r--iphone.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/iphone.c b/iphone.c
index f4c747e..3dccf71 100644
--- a/iphone.c
+++ b/iphone.c
@@ -290,6 +290,11 @@ iphone_error_t iphone_get_specific_device(int bus_n, int dev_n, iphone_device_t
290 phone->__device = NULL; 290 phone->__device = NULL;
291 phone->buffer = NULL; 291 phone->buffer = NULL;
292 292
293 // don't forget these:
294 phone->usbReceive.buffer = NULL;
295 phone->usbReceive.leftover = 0;
296 phone->usbReceive.capacity = 0;
297
293 // Initialize libusb 298 // Initialize libusb
294 usb_init(); 299 usb_init();
295 usb_find_busses(); 300 usb_find_busses();