aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ms/MsTest.cpp
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-04-17 19:00:04 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-04-20 16:17:39 +0200
commit9da0686371214f0c1ce9d54596fa76380e8d820b (patch)
treef7ba2d172d23612a090c8221246b8115c64bbe48 /tests/ms/MsTest.cpp
parentfe7aee9302c6778494e024b77d9a870d8624a38d (diff)
Merge bts_alloc_ms() and ms_alloc()
gprs_default_cb_ms_idle() is changed to have the same implementation as previous bts_ms_idle_cb(), since that's the only one being used in osmo-pcu code. It makes no sense to use different callback logic in unit tests. This is another step towards simplifying the code and getting rid of the idle/active_cb(). Change-Id: I2a06d17588572a21dc5a14ddbde83766076b446d
Diffstat (limited to 'tests/ms/MsTest.cpp')
-rw-r--r--tests/ms/MsTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ms/MsTest.cpp b/tests/ms/MsTest.cpp
index 84cb52e8..a8febd06 100644
--- a/tests/ms/MsTest.cpp
+++ b/tests/ms/MsTest.cpp
@@ -380,7 +380,7 @@ static GprsMs *prepare_ms(struct gprs_rlcmac_bts *bts, uint32_t tlli, enum gprs_
if (ms)
return ms;
- ms = bts_alloc_ms(bts);
+ ms = ms_alloc(bts);
if (dir == GPRS_RLCMAC_UL_TBF)
ms_set_tlli(ms, tlli);