RSL: Add support for RSL_CHAN_OSMO_PDCH to rsl_dec_chan_nr()

Change-Id: Icc772285636c06e1075a89809f0ac379d7a0002c
changes/90/3390/1
Harald Welte 5 years ago
parent 977231cc3e
commit a8a8d3977d
  1. 3
      src/gsm/rsl.c

@ -202,6 +202,9 @@ int rsl_dec_chan_nr(uint8_t chan_nr, uint8_t *type, uint8_t *subch, uint8_t *tim
} else if ((chan_nr & 0xf8) == RSL_CHAN_PCH_AGCH) {
*type = RSL_CHAN_PCH_AGCH;
*subch = 0;
} else if ((chan_nr & 0xf8) == RSL_CHAN_OSMO_PDCH) {
*type = RSL_CHAN_OSMO_PDCH;
*subch = 0;
} else
return -EINVAL;

Loading…
Cancel
Save