diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gprs.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1993,12 +1993,12 @@ void ofono_gprs_context_deactivated(struct ofono_gprs_context *gc, for (l = gc->gprs->contexts; l; l = l->next) { ctx = l->data; - if (ctx->active == FALSE) - continue; - if (ctx->context.cid != cid) continue; + if (ctx->active == FALSE) + break; + gprs_cid_release(ctx->gprs, ctx->context.cid); ctx->context.cid = 0; ctx->active = FALSE; |