--- a/src/dfu.c +++ b/src/dfu.c @@ -95,7 +95,6 @@ int dfu_check_mode(struct idevicerestore return -1; } - irecv_init(); if (irecv_open_with_ecid(&dfu, client->ecid) != IRECV_E_SUCCESS) { return -1; } @@ -119,7 +118,6 @@ irecv_device_t dfu_get_irecv_device(stru irecv_error_t dfu_error = IRECV_E_SUCCESS; irecv_device_t device = NULL; - irecv_init(); if (irecv_open_with_ecid(&dfu, client->ecid) != IRECV_E_SUCCESS) { return NULL; } --- a/src/recovery.c +++ b/src/recovery.c @@ -108,7 +108,6 @@ int recovery_check_mode(struct idevicere return -1; } - irecv_init(); recovery_error=irecv_open_with_ecid(&recovery, client->ecid); if (recovery_error != IRECV_E_SUCCESS) {