[PATCH] 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
Thu Jul 27 12:12:54 UTC 2017


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

chantype_rsl2gsmtap/gsmtap2rsl: Fix PDCH channel type conversion

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


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/58/3358/1

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: newchange
Gerrit-Change-Id: I88a06e8ba894f16006a8efa259fc536cf300de32
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list