diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-10-17 01:03:53 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-12-09 11:35:41 +0000 |
commit | ec16c161932c16280d7b4bdf8e72262e7f81c873 (patch) | |
tree | 9e567ec2b826fea9c8c72a200f9d425d8df5b80e /openbsc/src/libcommon | |
parent | f788d933824cf9757d58a1e84843c7c33523e71c (diff) |
lchan release in error state: SACCH deact only for SACCH pchans
This is useful particularly in case where we deactivate PDCHs
which don't have a SACCH associated. The existin code would
always attempt to deactivate a SACCH even in those cases, leading
to the BTS responsding with related error messages.
Change-Id: Iaf46782329b38ba8f3d438e6c75c2d467b852734
Diffstat (limited to 'openbsc/src/libcommon')
-rw-r--r-- | openbsc/src/libcommon/gsm_data_shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libcommon/gsm_data_shared.c b/openbsc/src/libcommon/gsm_data_shared.c index df204feab..387af7068 100644 --- a/openbsc/src/libcommon/gsm_data_shared.c +++ b/openbsc/src/libcommon/gsm_data_shared.c @@ -729,7 +729,7 @@ static const uint8_t subslots_per_pchan[] = { }; /*! Return the actual pchan type, also heeding dynamic TS. */ -static enum gsm_phys_chan_config ts_pchan(struct gsm_bts_trx_ts *ts) +enum gsm_phys_chan_config ts_pchan(struct gsm_bts_trx_ts *ts) { switch (ts->pchan) { case GSM_PCHAN_TCH_F_TCH_H_PDCH: |