summaryrefslogtreecommitdiffstats
path: root/src/recovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/recovery.c')
-rw-r--r--src/recovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/recovery.c b/src/recovery.c
index 9e86cc5..279fe50 100644
--- a/src/recovery.c
+++ b/src/recovery.c
@@ -99,7 +99,7 @@ int recovery_check_mode() {
return -1;
}
- if (recovery->mode == kDfuMode) {
+ if ((recovery->mode == kDfuMode) || (recovery->mode == kWTFMode)) {
irecv_close(recovery);
return -1;
}