[MERGED] osmo-bts[master]: octphy: Use the app. info. defaults as base

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Jun 14 10:18:33 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: octphy: Use the app. info. defaults as base
......................................................................


octphy: Use the app. info. defaults as base

Similar to 91565b2d51646657002f91fdc22dce3c7320e13a use default
initializers.

Change-Id: Ib813249f4295b034eb65658e3f43b4fe86862cf0
Fixes: Os#1642
---
M src/osmo-bts-octphy/l1_oml.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c
index 14181dc..18bd8c0 100644
--- a/src/osmo-bts-octphy/l1_oml.c
+++ b/src/osmo-bts-octphy/l1_oml.c
@@ -1156,6 +1156,7 @@
 
 	ais = (tOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_CMD *)
 						msgb_put(msg, sizeof(*ais));
+	mOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_CMD_DEF(ais);
 	l1if_fill_msg_hdr(&ais->Header, msg, fl1h, cOCTVC1_MSG_TYPE_COMMAND,
 			  cOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_CID);
 
@@ -1197,6 +1198,7 @@
 	tOCTVC1_MAIN_MSG_APPLICATION_INFO_CMD *ai;
 
 	ai = (tOCTVC1_MAIN_MSG_APPLICATION_INFO_CMD *) msgb_put(msg, sizeof(*ai));
+	mOCTVC1_MAIN_MSG_APPLICATION_INFO_CMD_DEF(ai);
 	l1if_fill_msg_hdr(&ai->Header, msg, fl1h, cOCTVC1_MSG_TYPE_COMMAND,
 			  cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID);
 

-- 
To view, visit https://gerrit.osmocom.org/233
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib813249f4295b034eb65658e3f43b4fe86862cf0
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list