aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common/rsl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 5f3c17e5..6120e0ec 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -140,8 +140,8 @@ static void lchan_tchmode_from_cmode(struct gsm_lchan *lchan,
/* Is this channel number for a dedicated channel (true) or not (false) */
static bool chan_nr_is_dchan(uint8_t chan_nr)
{
- /* See TS 48.058 9.3.1 */
- if (chan_nr & 0x80)
+ /* See TS 48.058 9.3.1 + Osmocom extension for RSL_CHAN_OSMO_PDCH */
+ if ((chan_nr & 0xc0) == 0x80)
return false;
else
return true;