gsm_pchan2chan_nr asserts GSM_PCHAN_CCCH: lchan_nr == 0
see end of gsm_pchan2chan_nr in osmo-bts/src/common/gsm_data_shared.c. As of current master (40c05f07f49721e3ec89f6cd4a21a187a41336ef), an assert is commented because it was being triggered.
default: case GSM_PCHAN_CCCH: /* OSMO_ASSERT(lchan_nr == 0); * FIXME: On octphy and litecell, we hit above assertion (see * Max's comment at https://gerrit.osmocom.org/589 ); disabled * for BTS until this is clarified; remove the #ifdef when it * is fixed. */ #warning "fix caller that passes lchan_nr != 0" cbits = 0x10; break; }