aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ulc/PdchUlcTest.cpp
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-05-13 18:39:36 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-05-19 12:50:25 +0200
commit1a1557a60a1f3f86017e298f95a452d8c7811a0e (patch)
tree1a483be092e4e9ea3207d773416624d6df1b3cac /tests/ulc/PdchUlcTest.cpp
parentf62b0ec37dede666f96c17302a106483525441a0 (diff)
Move TBF list from BTS to the TRX structure
The TBFs are managed per TRX. Move the global list from BTS to TRX. Related: OS#1541 Change-Id: Id3c59c11d57d765fe68aaebaac94290c0d84feb2
Diffstat (limited to 'tests/ulc/PdchUlcTest.cpp')
-rw-r--r--tests/ulc/PdchUlcTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ulc/PdchUlcTest.cpp b/tests/ulc/PdchUlcTest.cpp
index 84035d17..c980e332 100644
--- a/tests/ulc/PdchUlcTest.cpp
+++ b/tests/ulc/PdchUlcTest.cpp
@@ -160,6 +160,7 @@ static void test_reserve_multiple()
int _alloc_algorithm_dummy(struct gprs_rlcmac_bts *bts, struct gprs_rlcmac_tbf *tbf,
bool single, int8_t use_tbf)
{
+ tbf->trx = &bts->trx[0];
return 0;
}
@@ -174,7 +175,6 @@ static void test_fn_wrap_around()
struct gprs_rlcmac_bts *bts = bts_alloc(the_pcu, 0);
struct GprsMs *ms = ms_alloc(bts, 0x12345678);
struct gprs_rlcmac_tbf *tbf1 = tbf_alloc_dl_tbf(bts, ms, 0, true);
- tbf1->trx = &bts->trx[0];
struct gprs_rlcmac_pdch *pdch = &tbf1->trx->pdch[0];
int rc;
uint32_t fn, last_fn;