laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-bts/+/31963 )
Change subject: lchan: Improve error path logging in gsm_pchan2chan_nr()
......................................................................
lchan: Improve error path logging in gsm_pchan2chan_nr()
Change-Id: I8d9da8e8433feb1f022dc2f5199f9c15c01e9312
---
M src/common/lchan.c
1 file changed, 13 insertions(+), 4 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/src/common/lchan.c b/src/common/lchan.c
index 0402c17..638f30a 100644
--- a/src/common/lchan.c
+++ b/src/common/lchan.c
@@ -367,13 +367,13 @@
cbits = ABIS_RSL_CHAN_NR_CBITS_BCCH;
break;
case GSM_PCHAN_NONE:
- LOGP(DRSL, LOGL_ERROR, "Physical channel %s not expected!\n",
- gsm_pchan_name(pchan));
+ LOGP(DRSL, LOGL_ERROR, "ts=%u,ss=%u Physical channel %s not expected!\n",
+ ts_nr, lchan_nr, gsm_pchan_name(pchan));
cbits = 0x00;
break;
default:
- LOGP(DRSL, LOGL_ERROR, "Physical channel %s (0x%02x) not expected!\n",
- gsm_pchan_name(pchan), (int)pchan);
+ LOGP(DRSL, LOGL_ERROR, "ts=%u,ss=%u Physical channel %s (0x%02x) not
expected!\n",
+ ts_nr, lchan_nr, gsm_pchan_name(pchan), (int)pchan);
OSMO_ASSERT(0);
break;
}
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bts/+/31963
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I8d9da8e8433feb1f022dc2f5199f9c15c01e9312
Gerrit-Change-Number: 31963
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged