pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-pcu/+/29902 )
Change subject: pdch: Use helper function tbf_as_ul_tbf()
......................................................................
pdch: Use helper function tbf_as_ul_tbf()
Change-Id: Ie2a0af7928578823e944b85781ce284722547661
---
M src/pdch.cpp
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
osmith: Looks good to me, approved
diff --git a/src/pdch.cpp b/src/pdch.cpp
index 4d6d8f6..369406f 100644
--- a/src/pdch.cpp
+++ b/src/pdch.cpp
@@ -701,7 +701,7 @@
/* let common path expire the poll */
goto return_unref;
}
- ul_tbf = (struct gprs_rlcmac_ul_tbf *)item->tbf_poll.poll_tbf;
+ ul_tbf = tbf_as_ul_tbf(item->tbf_poll.poll_tbf);
if (item->tbf_poll.reason != PDCH_ULC_POLL_UL_ACK) {
LOGPDCH(this, DRLCMAC, LOGL_NOTICE, "FN=%u PKT RESOURCE REQ: "
"Unexpectedly received, waiting for poll reason %d\n",
--
To view, visit
https://gerrit.osmocom.org/c/osmo-pcu/+/29902
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ie2a0af7928578823e944b85781ce284722547661
Gerrit-Change-Number: 29902
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged