Change in osmo-pcu[master]: bts: Fix typo in field name

pespin gerrit-no-reply at lists.osmocom.org
Tue Jun 1 14:43:49 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/24498 )


Change subject: bts: Fix typo in field name
......................................................................

bts: Fix typo in field name

Change-Id: I5426ff4ccbc45464888e2246cceb8e861d1e477e
---
M src/bts.cpp
M src/bts.h
M src/pcu_l1_if.cpp
3 files changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/98/24498/1

diff --git a/src/bts.cpp b/src/bts.cpp
index dc550ef..95dde04 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -1332,7 +1332,7 @@
 	if (bts->pcu->vty.force_alpha != (uint8_t)-1)
 		return bts->pcu->vty.force_alpha;
 	if (bts->si13_is_set)
-		return bts->si31_ro_decoded.pwr_ctrl_pars.alpha;
+		return bts->si13_ro_decoded.pwr_ctrl_pars.alpha;
 	/* default if no SI13 is received yet: closed loop control, TS 44.060
 	 * B.2 Closed loop control */
 	return 0;
diff --git a/src/bts.h b/src/bts.h
index 52c89b9..bb91df3 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -234,7 +234,7 @@
 	uint8_t si3[GSM_MACBLOCK_LEN];
 	bool si3_is_set;
 	uint8_t si13[GSM_MACBLOCK_LEN];
-	struct osmo_gsm48_si13_info si31_ro_decoded;
+	struct osmo_gsm48_si13_info si13_ro_decoded;
 	bool si13_is_set;
 
 	/* State for dynamic algorithm selection */
diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp
index cfd36d7..0453b92 100644
--- a/src/pcu_l1_if.cpp
+++ b/src/pcu_l1_if.cpp
@@ -336,7 +336,7 @@
 			memcpy(bts->si13, data, GSM_MACBLOCK_LEN);
 			bts->si13_is_set = true;
 			si_ro = ((struct gsm48_system_information_type_13*)data)->rest_octets;
-			if (osmo_gsm48_rest_octets_si13_decode(&bts->si31_ro_decoded, si_ro) < 0)
+			if (osmo_gsm48_rest_octets_si13_decode(&bts->si13_ro_decoded, si_ro) < 0)
 				LOGP(DPCU, LOGL_ERROR, "Error decoding SI13\n");
 			break;
 		default:

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I5426ff4ccbc45464888e2246cceb8e861d1e477e
Gerrit-Change-Number: 24498
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210601/26c0bec7/attachment.htm>


More information about the gerrit-log mailing list