aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-octphy
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-06-13 14:56:44 +0200
committerMax <msuraev@sysmocom.de>2016-06-13 14:56:44 +0200
commit3a1f1b8e91638fe2286e9e9253fe3ea6808f9f8a (patch)
tree3b123411f4b95d7b900506647e4782bb890b0a68 /src/osmo-bts-octphy
parent45822227577cba5c6c4a4d4d61a7a9e8b4992c25 (diff)
octphy: Use the app. info. defaults as base
Similar to 91565b2d51646657002f91fdc22dce3c7320e13a use default initializers. Change-Id: Ib813249f4295b034eb65658e3f43b4fe86862cf0 Fixes: Os#1642
Diffstat (limited to 'src/osmo-bts-octphy')
-rw-r--r--src/osmo-bts-octphy/l1_oml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c
index 14181dc4..18bd8c00 100644
--- a/src/osmo-bts-octphy/l1_oml.c
+++ b/src/osmo-bts-octphy/l1_oml.c
@@ -1156,6 +1156,7 @@ int l1if_check_app_sys_version(struct gsm_bts_trx *trx)
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 @@ int l1if_check_app_version(struct gsm_bts_trx *trx)
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);