aboutsummaryrefslogtreecommitdiffstats
path: root/src
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>2013-12-25 19:19:38 +0100
commit7ddaf39902dab03738a6a7b7964c745a75b0a106 (patch)
treef0bb55ff8dfb44a9651cea6ef04c4f0518e7a753 /src
parent554a8dc68fb1fe647076db7407fb38cfc5f9df15 (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')
-rw-r--r--src/tbf.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 5d7e4efb..b04efe81 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);