summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libirecovery.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index 9956fab..c564ecb 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -597,9 +597,7 @@ irecv_error_t irecv_open_with_ecid(irecv_client_t* pclient, unsigned long long e
if ((client->mode != IRECV_K_DFU_MODE) && (client->mode != IRECV_K_WTF_MODE)) {
error = irecv_usb_set_interface(client, 0, 0);
- if (client->mode > IRECV_K_RECOVERY_MODE_2) {
- error = irecv_usb_set_interface(client, 1, 1);
- }
+ error = irecv_usb_set_interface(client, 1, 1);
} else {
error = irecv_usb_set_interface(client, 0, 0);
}