aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bts.cpp')
-rw-r--r--src/bts.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index b278ecfb..29cd3e5d 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -19,6 +19,8 @@
*/
#include <bts.h>
+#include <poll_controller.h>
+
#include <string.h>
static BTS s_bts;
@@ -40,6 +42,7 @@ struct gprs_rlcmac_bts *bts_main_data()
BTS::BTS()
: m_cur_fn(0)
+ , m_pollController(*this)
{
memset(&m_bts, 0, sizeof(m_bts));
m_bts.bts = this;
@@ -48,4 +51,5 @@ BTS::BTS()
void BTS::set_current_frame_number(int fn)
{
m_cur_fn = fn;
+ m_pollController.expireTimedout(m_cur_fn);
}