path: root/src/common/oml.c
diff options
authorNeels Hofmeyr <neels@hofmeyr.de>2016-07-16 22:29:28 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2016-07-25 16:38:18 +0200
commit334df9441a44de00c0dd3f66e73ac6fae28098fb (patch)
treea1c1d07121510f421610a9fe3f21b86a230eb542 /src/common/oml.c
parent290c7d954faa9410c4c6740787e8e3bbf1c92d6c (diff)
cosmetic: clarify TCH/F_PDCH related naming and comments
We're about to introduce a new kind of dynamic channel, which will also use parts of the ip.access mode dyn PDCH code paths. Make sure the general parts have general names and mark ip.access specific parts as such. Rename dyn_pdch_ts_[dis]connected() to cb_ts_[dis]connected(). Rename dyn_pdch_complete to ipacc_dyn_pdch_complete(). From cb_ts_[dis]connected(), factor out the current code into static functions ipacc_dyn_pdch_[dis]connected() -- this will make sense once the new dynamic kind is added to cb_ts_[dis]connected(). Change-Id: I7da5b7cb7b48572671f50e0dec97d9eec3083df1
Diffstat (limited to 'src/common/oml.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/oml.c b/src/common/oml.c
index 9d3c454d..38df11ae 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -691,6 +691,7 @@ static int conf_lchans_for_pchan(struct gsm_bts_trx_ts *ts)
unsigned int i;
enum gsm_phys_chan_config pchan = ts->pchan;
+ /* RSL_MT_IPAC_PDCH_ACT style dyn PDCH */
if (pchan == GSM_PCHAN_TCH_F_PDCH)
pchan = ts->flags & TS_F_PDCH_ACTIVE? GSM_PCHAN_PDCH