aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.cpp
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-02-04 03:10:08 +0100
committerHarald Welte <laforge@gnumonks.org>2017-05-15 12:46:33 +0000
commitccde5c9557382f56a40e0c94fc29eca8bd886c1c (patch)
treee95b2f38979060d05161d7b5f0470a2e8b233669 /src/tbf.cpp
parent3de6d0602f4c0c70b87d303161e154746a74b50d (diff)
remove pcu own bitvector implementation
The osmocore bitvec is exact the same, but use a pointer instead of a reference. Change-Id: Id8f797631d89aa12b6e48efb2dc153a3e2f059f7
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r--src/tbf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 99ad30ac..70b8d61e 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -1112,7 +1112,7 @@ struct msgb *gprs_rlcmac_tbf::create_dl_ass(uint32_t fn, uint8_t ts)
msg = msgb_alloc(23, "rlcmac_dl_ass");
if (!msg)
return NULL;
- bitvec *ass_vec = bitvec_alloc(23);
+ bitvec *ass_vec = bitvec_alloc(23, tall_pcu_ctx);
if (!ass_vec) {
msgb_free(msg);
return NULL;
@@ -1159,7 +1159,7 @@ struct msgb *gprs_rlcmac_tbf::create_packet_access_reject()
msg = msgb_alloc(23, "rlcmac_ul_ass_rej");
- bitvec *packet_access_rej = bitvec_alloc(23);
+ bitvec *packet_access_rej = bitvec_alloc(23, tall_pcu_ctx);
bitvec_unhex(packet_access_rej,
"2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b");
@@ -1216,7 +1216,7 @@ struct msgb *gprs_rlcmac_tbf::create_ul_ass(uint32_t fn, uint8_t ts)
if (!msg)
return NULL;
LOGP(DRLCMAC, LOGL_INFO, "%ss start Packet Uplink Assignment (PACCH)\n", tbf_name(new_tbf));
- bitvec *ass_vec = bitvec_alloc(23);
+ bitvec *ass_vec = bitvec_alloc(23, tall_pcu_ctx);
if (!ass_vec) {
msgb_free(msg);
return NULL;