From 334df9441a44de00c0dd3f66e73ac6fae28098fb Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sat, 16 Jul 2016 22:29:28 +0200 Subject: 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 --- src/common/oml.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/oml.c') 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 : GSM_PCHAN_TCH_F; -- cgit v1.2.3