aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-07-29 17:56:35 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2016-08-10 18:06:20 +0200
commit37af36e85eca546595081246aec010fa7f6fd0be (patch)
tree1376efb60a78f2e89d5f6543b72afaee00c41f32
parent63849ebf7143fe5af0d8dffd4157d62c8c1a2867 (diff)
sysmo,lc15: ts_connect_as(): log error also for pchan_as == TCH/F_PDCH
-rw-r--r--src/osmo-bts-litecell15/oml.c3
-rw-r--r--src/osmo-bts-sysmo/oml.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/osmo-bts-litecell15/oml.c b/src/osmo-bts-litecell15/oml.c
index 8b1f195..5ce510a 100644
--- a/src/osmo-bts-litecell15/oml.c
+++ b/src/osmo-bts-litecell15/oml.c
@@ -488,7 +488,8 @@ static int ts_connect_as(struct gsm_bts_trx_ts *ts,
struct lc15l1_hdl *fl1h = trx_lc15l1_hdl(ts->trx);
GsmL1_MphConnectReq_t *cr;
- if (pchan == GSM_PCHAN_TCH_F_TCH_H_PDCH) {
+ if (pchan == GSM_PCHAN_TCH_F_PDCH
+ || pchan == GSM_PCHAN_TCH_F_TCH_H_PDCH) {
LOGP(DL1C, LOGL_ERROR,
"%s Requested TS connect as %s,"
" expected a specific pchan instead\n",
diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c
index e9a4794..9beba43 100644
--- a/src/osmo-bts-sysmo/oml.c
+++ b/src/osmo-bts-sysmo/oml.c
@@ -491,7 +491,8 @@ static int ts_connect_as(struct gsm_bts_trx_ts *ts,
struct femtol1_hdl *fl1h = trx_femtol1_hdl(ts->trx);
GsmL1_MphConnectReq_t *cr;
- if (pchan == GSM_PCHAN_TCH_F_TCH_H_PDCH) {
+ if (pchan == GSM_PCHAN_TCH_F_PDCH
+ || pchan == GSM_PCHAN_TCH_F_TCH_H_PDCH) {
LOGP(DL1C, LOGL_ERROR,
"%s Requested TS connect as %s,"
" expected a specific pchan instead\n",