aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.cpp
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-07-07 18:25:41 +0200
committerMax <msuraev@sysmocom.de>2017-08-14 15:50:47 +0200
commita10c39866b4b6e5515b1ceb35b15955226679eb3 (patch)
treee2a49b17bb798548b5e80cac97b619c449028ced /src/tbf.cpp
parent341dccd7e25f0987c80cfcba7605e07fe962c8a8 (diff)
Move DL assignment to TBF-DL
This function does not really belongs to BTS and it heavily relies on direct access to TBF-DL members anyway. Change-Id: I04584103018675a2f35cfb565473bfd81a208d7c Closes: OS#1540
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r--src/tbf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 1ac33d7a..5b28d9b3 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -1011,7 +1011,7 @@ void gprs_rlcmac_tbf::handle_timeout()
dl_tbf->update();
- dl_tbf->bts->trigger_dl_ass(dl_tbf, dl_tbf);
+ dl_tbf->trigger_ass(dl_tbf);
} else
LOGP(DRLCMAC, LOGL_NOTICE, "%s Continue flow after "
"IMM.ASS confirm\n", tbf_name(dl_tbf));
@@ -1299,7 +1299,7 @@ int gprs_rlcmac_tbf::establish_dl_tbf_on_pacch()
LOGP(DRLCMAC, LOGL_DEBUG, "%s Trigger downlink assignment on PACCH\n",
tbf_name(this));
- bts->trigger_dl_ass(new_tbf, this);
+ new_tbf->trigger_ass(this);
return 0;
}