From 2b5fb8ed66feaea181b8882ec31b67f606e5ab4f Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sat, 4 Feb 2017 06:01:00 +0100 Subject: gprs/sgsn: rename sgsn_mm_ctx_alloc() -> sgsn_mm_ctx_alloc_gb() Postfix the ran type to clarify the purpose. Because of the new support of the Iu ran type, there are 2 functions to allocate a mm ctx. For Iu it's sgsn_mm_ctx_alloc_iu(). For gb it should be named in the same way. Change-Id: Ic49009e8c20c12308855e1409c09004698c79b95 --- openbsc/tests/sgsn/sgsn_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/tests') diff --git a/openbsc/tests/sgsn/sgsn_test.c b/openbsc/tests/sgsn/sgsn_test.c index bcda9a007..0aa142ff9 100644 --- a/openbsc/tests/sgsn/sgsn_test.c +++ b/openbsc/tests/sgsn/sgsn_test.c @@ -190,7 +190,7 @@ static struct sgsn_mm_ctx *alloc_mm_ctx(uint32_t tlli, struct gprs_ra_id *raid) int old_count = count(gprs_llme_list()); lle = gprs_lle_get_or_create(tlli, 3); - ctx = sgsn_mm_ctx_alloc(tlli, raid); + ctx = sgsn_mm_ctx_alloc_gb(tlli, raid); ctx->gmm_state = GMM_REGISTERED_NORMAL; ctx->gb.llme = lle->llme; -- cgit v1.2.3