Move tbf_{dl,ul} child constructors to respective .cpp files
Fixes: 9d1cdb1f697057033394590a9b2815efe6c08cd9
Change-Id: Id258589d46de42ad4e27889bc396f930b7f94b79
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index e9190f6..fdd9ba3 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -76,6 +76,19 @@
tbf->request_dl_ack();
}
+gprs_rlcmac_dl_tbf::gprs_rlcmac_dl_tbf(BTS *bts_) :
+ gprs_rlcmac_tbf(bts_, GPRS_RLCMAC_DL_TBF),
+ m_tx_counter(0),
+ m_wait_confirm(0),
+ m_dl_ack_requested(false),
+ m_last_dl_poll_fn(0),
+ m_last_dl_drained_fn(0),
+ m_dl_gprs_ctrs(NULL),
+ m_dl_egprs_ctrs(NULL)
+{
+ memset(&m_llc_timer, 0, sizeof(m_llc_timer));
+}
+
void gprs_rlcmac_dl_tbf::cleanup()
{
osmo_timer_del(&m_llc_timer);