From: Richard Röjfors <[email protected]>
---
src/gprs.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gprs.c b/src/gprs.c
index bdb8c8a2..723013b7 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;
}
--
2.20.1
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono