From 92b7a50605793e59b233c537eb870eee3cc08e31 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 26 Jan 2018 11:01:35 +0100 Subject: Simplify TS alloc: fix allocation calls Using the semantic patch below, adjust allocation-related calls to match updated allocator signatures. // spatch --c++ --dir src -I src --sp-file callfix.spatch --in-place --recursive-includes // spatch --c++ --dir tests -I src --sp-file callfix.spatch --in-place --recursive-includes @@ expression A, B, C, D, E; @@ tbf_alloc_ul_tbf(A, B, C, D, E, ( - 1 + true | - 0 + false ) ) @@ expression A, B, C, D, E; @@ tbf_alloc_dl_tbf(A, B, C, D, E, ( - 1 + true | - 0 + false ) ) Change-Id: I43c76cb49093b40eb854d324e898e821270053dc Related: OS#2282 --- src/bts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bts.cpp') diff --git a/src/bts.cpp b/src/bts.cpp index 94354f2b..d652c59e 100644 --- a/src/bts.cpp +++ b/src/bts.cpp @@ -749,7 +749,7 @@ int BTS::rcv_rach(uint16_t ra, uint32_t Fn, int16_t qta, bool is_11bit, // Create new TBF /* FIXME: Copy and paste with other routines.. */ - tbf = tbf_alloc_ul_tbf(&m_bts, NULL, -1, 0, ms_class, 1); + tbf = tbf_alloc_ul_tbf(&m_bts, NULL, -1, 0, ms_class, true); if (!tbf) { LOGP(DRLCMAC, LOGL_NOTICE, "No PDCH resource sending " -- cgit v1.2.3