summaryrefslogtreecommitdiffstats
path: root/src/sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim.c')
-rw-r--r--src/sim.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sim.c b/src/sim.c
index 18ff5bed..6e144f42 100644
--- a/src/sim.c
+++ b/src/sim.c
@@ -314,9 +314,7 @@ static void sim_op_retrieve_cb(const struct ofono_error *error,
int fd;
if (error->type != OFONO_ERROR_TYPE_NO_ERROR) {
- if (op->current == 1)
- sim_op_error(modem);
-
+ sim_op_error(modem);
return;
}