pespin submitted this change.

View Change


Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved
rlcmac: gprs_rlcmac_tbf_free():Call proper free function for DL TBF

Change-Id: I65c37dd4ea20f039680e0927722b332d1140e62e
---
M src/rlcmac/tbf.c
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/rlcmac/tbf.c b/src/rlcmac/tbf.c
index c82f0ea..a88e924 100644
--- a/src/rlcmac/tbf.c
+++ b/src/rlcmac/tbf.c
@@ -21,6 +21,7 @@

#include <osmocom/gprs/rlcmac/tbf.h>
#include <osmocom/gprs/rlcmac/tbf_ul.h>
+#include <osmocom/gprs/rlcmac/tbf_dl.h>
#include <osmocom/gprs/rlcmac/gre.h>
#include <osmocom/gprs/rlcmac/pdch_ul_controller.h>

@@ -43,5 +44,6 @@
{
if (tbf->direction == GPRS_RLCMAC_TBF_DIR_UL)
gprs_rlcmac_ul_tbf_free(tbf_as_ul_tbf(tbf));
- /* else: TODO dl_tbf not yet implemented */
+ else
+ gprs_rlcmac_dl_tbf_free(tbf_as_dl_tbf(tbf));
}

To view, visit change 32122. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: I65c37dd4ea20f039680e0927722b332d1140e62e
Gerrit-Change-Number: 32122
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged