[PATCH] osmo-bts[master]: OML: fill MO while handling attr. request

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

Max gerrit-no-reply at lists.osmocom.org
Fri Jun 30 15:18:33 UTC 2017


Review at  https://gerrit.osmocom.org/3090

OML: fill MO while handling attr. request

Copy Obj, Class and TRX# into BTS' MO to properly distinguish between
BTS-level and TRX-level attributes.

Change-Id: I8b5a5ab8bd07daf2500b66dec428b89b7f8cd852
Related: OS#2317
---
M src/common/oml.c
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/90/3090/1

diff --git a/src/common/oml.c b/src/common/oml.c
index 8f23f82..e665e85 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -1123,6 +1123,8 @@
 		ret = oml_ipa_set_attr(bts, msg);
 		break;
 	case NM_MT_GET_ATTR:
+		bts->mo.obj_inst.trx_nr = foh->obj_inst.trx_nr;
+		bts->mo.obj_class = foh->obj_class;
 		ret = oml_rx_get_attr(bts, msg);
 		break;
 	default:

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8b5a5ab8bd07daf2500b66dec428b89b7f8cd852
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list