aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-25 19:16:55 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-01-15 10:39:07 +0100
commit4af30533f0e01a7156ff92f7689ccf35900740c3 (patch)
tree16a4ef2e9560fdbef16801fc5bf8b339bcd8a9bc /src/tbf.cpp
parentf37e514a9607254d1cbdd20cb9b2468de2c143be (diff)
alloc/tests: Create an allocation test for various scenarious
The allocation in the TBF/BTS code is quite complex. In parts this is due the assignment and requests occuring under differen circumstances. Attempt to re-create the commono scenarios. Remove the bogus msclass check in gprs_rlcmac_tbf::update as the allocation code will check the ms class anyway.
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r--src/tbf.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index ba615eca..a91193d2 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -317,11 +317,6 @@ int gprs_rlcmac_tbf::update()
if (direction != GPRS_RLCMAC_DL_TBF)
return -EINVAL;
- if (!ms_class) {
- LOGP(DRLCMAC, LOGL_DEBUG, "- Cannot update, no class\n");
- return -EINVAL;
- }
-
ul_tbf = bts->tbf_by_tlli(m_tlli, GPRS_RLCMAC_UL_TBF);
tbf_unlink_pdch(this);