Change in osmo-pcu[master]: gprs_ms: Use proper function to get CS

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

pespin gerrit-no-reply at lists.osmocom.org
Sun Nov 1 23:23:46 UTC 2020


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/20989 )

Change subject: gprs_ms: Use proper function to get CS
......................................................................

gprs_ms: Use proper function to get CS

Change-Id: I161e733991ac4fa7bd25a0f12b20e5701c76fc52
---
M src/gprs_ms.cpp
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved



diff --git a/src/gprs_ms.cpp b/src/gprs_ms.cpp
index 2f1884a..3271a1d 100644
--- a/src/gprs_ms.cpp
+++ b/src/gprs_ms.cpp
@@ -617,7 +617,7 @@
 	if (bts_data->max_mcs_ul)
 		return mcs_get_egprs_by_num(bts_data->max_mcs_ul);
 	else if (bts_data->max_cs_ul)
-		return mcs_get_egprs_by_num(bts_data->max_cs_ul);
+		return mcs_get_gprs_by_num(bts_data->max_cs_ul);
 
 	return MCS4;
 }
@@ -648,7 +648,7 @@
 	if (bts_data->max_mcs_dl)
 		return mcs_get_egprs_by_num(bts_data->max_mcs_dl);
 	else if (bts_data->max_cs_dl)
-		return mcs_get_egprs_by_num(bts_data->max_cs_dl);
+		return mcs_get_gprs_by_num(bts_data->max_cs_dl);
 
 	return MCS4;
 }

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I161e733991ac4fa7bd25a0f12b20e5701c76fc52
Gerrit-Change-Number: 20989
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201101/ab703750/attachment.htm>


More information about the gerrit-log mailing list