summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gprs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gprs.c b/src/gprs.c
index d554dab1..9cb69d14 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -271,6 +271,9 @@ static gboolean assign_context(struct pri_context *ctx, unsigned int use_cid)
return TRUE;
}
+ l_uintset_take(used_cids, ctx->context.cid);
+ ctx->context.cid = 0;
+
return FALSE;
}