summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-27 14:12:15 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-28 21:26:10 +0000
commit3b7cd0b5cb40a852f42c0ea2770763970ca5a3e3 (patch)
tree7e2d793600df4740c723fc475fd59b40bb4e9ffe
parent8b8938f6aec59485d258e8e213d5912be4d18a11 (diff)
chantype_rsl2gsmtap/gsmtap2rsl: Fix PDCH channel type conversion
Change-Id: I88a06e8ba894f16006a8efa259fc536cf300de32
-rw-r--r--src/gsmtap_util.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gsmtap_util.c b/src/gsmtap_util.c
index ad6f914e..28149c02 100644
--- a/src/gsmtap_util.c
+++ b/src/gsmtap_util.c
@@ -81,6 +81,9 @@ uint8_t chantype_rsl2gsmtap(uint8_t rsl_chantype, uint8_t link_id)
/* 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 @@ void chantype_gsmtap2rsl(uint8_t gsmtap_chantype, uint8_t *rsl_chantype,
*rsl_chantype = RSL_CHAN_PCH_AGCH;
break;
case GSMTAP_CHANNEL_PDCH:
- *rsl_chantype = GSMTAP_CHANNEL_PDCH;
+ *rsl_chantype = RSL_CHAN_OSMO_PDCH;
break;
}