aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mm-bearer-qmi.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mm-bearer-qmi.c b/src/mm-bearer-qmi.c
index 02c2e9cc..5d885d13 100644
--- a/src/mm-bearer-qmi.c
+++ b/src/mm-bearer-qmi.c
@@ -1058,12 +1058,12 @@ connect_enable_indications_ipv4_ready (QmiClientWds *client,
ctx->event_report_ipv4_indication_id =
connect_enable_indications_ready (client, res, ctx->self, &ctx->error_ipv4);
- if (!ctx->event_report_ipv4_indication_id) {
+
+ if (!ctx->event_report_ipv4_indication_id)
ctx->step = CONNECT_STEP_LAST;
- return;
- }
+ else
+ ctx->step++;
- ctx->step++;
connect_context_step (task);
}
@@ -1079,12 +1079,12 @@ connect_enable_indications_ipv6_ready (QmiClientWds *client,
ctx->event_report_ipv6_indication_id =
connect_enable_indications_ready (client, res, ctx->self, &ctx->error_ipv6);
- if (!ctx->event_report_ipv6_indication_id) {
+
+ if (!ctx->event_report_ipv6_indication_id)
ctx->step = CONNECT_STEP_LAST;
- return;
- }
+ else
+ ctx->step++;
- ctx->step++;
connect_context_step (task);
}