diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-18 17:16:26 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-29 10:53:32 +0200 |
commit | e2e004e7a91a3cd680c11364d9cb8cd21c714a8b (patch) | |
tree | ef0260a7139092f77de07ff39765440fdbae8b30 /tests/tbf/TbfTest.cpp | |
parent | ace7b570a047b7ee36557091c10918240c4b8ff3 (diff) |
tbf: Pass the MS object around instead of old_tbf
Currently the old TBF (either uplink or downlink) is passed around at
TBF allocation mainly to get information about the MS. To implement
more complex allocation algorithms, the MS object itself will be
needed anyway.
This commit replaces the old_tbf arguments by MS object arguments.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/tbf/TbfTest.cpp')
-rw-r--r-- | tests/tbf/TbfTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp index b963e378..99686b9e 100644 --- a/tests/tbf/TbfTest.cpp +++ b/tests/tbf/TbfTest.cpp @@ -80,7 +80,7 @@ static void test_tbf_tlli_update() dl_tbf->set_ta(4); gprs_rlcmac_tbf *ul_tbf = tbf_alloc_ul_tbf(the_bts.bts_data(), - dl_tbf, 0, + dl_tbf->ms(), 0, 0, 0, 0); ul_tbf->update_ms(0x2342, GPRS_RLCMAC_UL_TBF); |