aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac_data.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-19 21:24:34 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:10 +0100
commit9f0c1d216a0596f733c55d787ef0eb0693362d49 (patch)
tree179ad6966efd04628c60af899a80817ee63f7e74 /src/gprs_rlcmac_data.cpp
parentcedf89092849569a8bc5e89b83d89b421c7bbdfa (diff)
tbf: Keep a pointer from the tbf to the BTS
This is preparing the next commits and will ease working with the debug_diagram when the global lists are killed. It will simplify the APIin the long run.
Diffstat (limited to 'src/gprs_rlcmac_data.cpp')
-rw-r--r--src/gprs_rlcmac_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs_rlcmac_data.cpp b/src/gprs_rlcmac_data.cpp
index ac83f571..32585938 100644
--- a/src/gprs_rlcmac_data.cpp
+++ b/src/gprs_rlcmac_data.cpp
@@ -1603,7 +1603,7 @@ int gprs_rlcmac_downlink_ack(struct gprs_rlcmac_bts *bts,
memset(&tbf->dir.dl, 0, sizeof(tbf->dir.dl)); /* reset RLC states */
tbf->state_flags &= GPRS_RLCMAC_FLAG_TO_MASK; /* keep TO flags */
tbf->state_flags &= ~(1 << GPRS_RLCMAC_FLAG_CCCH);
- tbf_update(bts, tbf);
+ tbf_update(tbf);
gprs_rlcmac_trigger_downlink_assignment(bts, tbf, tbf, NULL);
return 0;