[PATCH] openbsc[master]: Move gsm_bts_type_variant to gsm_bts struct

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
Tue Apr 11 16:30:07 UTC 2017


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

Move gsm_bts_type_variant to gsm_bts struct

Previously it was in gsm_bts_model which is not initialized on BTS
side. It's more convenient to have it in the struct which is available
to both BSC and BTS.

Change-Id: I54fde8c4ccd5d994af08074f5864446e79a93a25
Related: OS#1614
---
M openbsc/include/openbsc/gsm_data_shared.h
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/94/2294/1

diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index 242889a..9c713fd 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -510,7 +510,6 @@
 	struct llist_head list;
 
 	enum gsm_bts_type type;
-	enum gsm_bts_type_variant variant;
 	const char *name;
 
 	bool started;
@@ -663,6 +662,7 @@
 	uint8_t bsic;
 	/* type of BTS */
 	enum gsm_bts_type type;
+	enum gsm_bts_type_variant variant;
 	struct gsm_bts_model *model;
 	enum gsm_band band;
 	char version[MAX_VERSION_LENGTH];

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

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



More information about the gerrit-log mailing list