Change in osmo-e1d[master]: actually set the back-pointer from timeslot to line

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/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Jun 30 06:02:07 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-e1d/+/19059 )

Change subject: actually set the back-pointer from timeslot to line
......................................................................

actually set the back-pointer from timeslot to line

'struct e1_ts' always had a back-pointer to the line it is part of,
but apparently this was never initialized so far.

Change-Id: I5e6c8189bf5aa4af26d6cd6c6d288a149ed7fa66
---
M src/intf_line.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved
  tnt: Looks good to me, but someone else must approve



diff --git a/src/intf_line.c b/src/intf_line.c
index a1fbc0f..afe477d 100644
--- a/src/intf_line.c
+++ b/src/intf_line.c
@@ -98,6 +98,7 @@
 	line->drv_data = drv_data;
 
 	for (int i=0; i<32; i++) {
+		line->ts[i].line = line;
 		line->ts[i].id = i;
 		line->ts[i].fd = -1;
 	}

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

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I5e6c8189bf5aa4af26d6cd6c6d288a149ed7fa66
Gerrit-Change-Number: 19059
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Assignee: tnt <tnt at 246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: tnt <tnt at 246tNt.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200630/f3e89849/attachment.htm>


More information about the gerrit-log mailing list