[MERGED] libosmocore[master]: chantype_rsl2gsmtap/gsmtap2rsl: Fix PDCH channel type conver...

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Jul 28 21:26:11 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: chantype_rsl2gsmtap/gsmtap2rsl: Fix PDCH channel type conversion
......................................................................


chantype_rsl2gsmtap/gsmtap2rsl: Fix PDCH channel type conversion

Change-Id: I88a06e8ba894f16006a8efa259fc536cf300de32
---
M src/gsmtap_util.c
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/gsmtap_util.c b/src/gsmtap_util.c
index ad6f914..28149c0 100644
--- a/src/gsmtap_util.c
+++ b/src/gsmtap_util.c
@@ -81,6 +81,9 @@
 		/* it could also be AGCH... */
 		ret = GSMTAP_CHANNEL_PCH;
 		break;
+	case RSL_CHAN_OSMO_PDCH:
+		ret = GSMTAP_CHANNEL_PDCH;
+		break;
 	}
 
 	if (link_id & 0x40)
@@ -121,7 +124,7 @@
 		*rsl_chantype = RSL_CHAN_PCH_AGCH;
 		break;
 	case GSMTAP_CHANNEL_PDCH:
-		*rsl_chantype = GSMTAP_CHANNEL_PDCH;
+		*rsl_chantype = RSL_CHAN_OSMO_PDCH;
 		break;
 	}
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I88a06e8ba894f16006a8efa259fc536cf300de32
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list