Change in osmo-pcu[master]: tbf_ul_ass_fsm: Log both TBFs if old TBF is handling assignment for n...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Wed Nov 10 16:54:53 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/26201 )


Change subject: tbf_ul_ass_fsm: Log both TBFs if old TBF is handling assignment for new one
......................................................................

tbf_ul_ass_fsm: Log both TBFs if old TBF is handling assignment for new one

Change-Id: If475560aab16b0a89743139189ff7720389132a5
---
M src/tbf_ul_ass_fsm.c
1 file changed, 6 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/01/26201/1

diff --git a/src/tbf_ul_ass_fsm.c b/src/tbf_ul_ass_fsm.c
index ab23fbd..d2dea46 100644
--- a/src/tbf_ul_ass_fsm.c
+++ b/src/tbf_ul_ass_fsm.c
@@ -110,7 +110,12 @@
 	};
 	bitvec_unhex(&bv, DUMMY_VEC);
 
-	LOGPTBFUL((const struct gprs_rlcmac_tbf *)new_tbf, LOGL_INFO, "start Packet Uplink Assignment (PACCH)\n");
+	if (ctx->tbf != (struct gprs_rlcmac_tbf *)new_tbf)
+		LOGPTBFUL(ctx->tbf, LOGL_INFO, "start Packet Uplink Assignment (PACCH) for %s\n",
+			  tbf_name((const struct gprs_rlcmac_tbf *)new_tbf));
+	else
+		LOGPTBFUL(ctx->tbf, LOGL_INFO, "start Packet Uplink Assignment (PACCH)\n");
+
 	mac_control_block = (RlcMacDownlink_t *)talloc_zero(ctx->tbf, RlcMacDownlink_t);
 	tlli = ms_tlli(ms);
 	write_packet_uplink_assignment(mac_control_block, tbf_tfi(ctx->tbf),

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/26201
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: If475560aab16b0a89743139189ff7720389132a5
Gerrit-Change-Number: 26201
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211110/f320d175/attachment.htm>


More information about the gerrit-log mailing list