aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/bts.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-05-25 10:19:00 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-25 10:24:13 +0200
commitdfa3bb8a10e9fd12e583f9e996679836793a55bd (patch)
treebe265c053fa2dbb3dde2ea70d95d0a13bd4a6078 /src/common/bts.c
parentb8265c63cc7d0b7060860d42dfc348423102d9c5 (diff)
Add severity to OML FAILURE EVENT REPORT
Example: The fact that the PCU has connected with a given version is not a *failure* in the first place, particularly not a MAJOR one. Let's allow callers of oml_tx_failure_event_rep() specify the serverity of the event that they're reporting to the BSC. Change-Id: I49af04212568892648e0e8704ba1cc6de8c8ae89
Diffstat (limited to 'src/common/bts.c')
-rw-r--r--src/common/bts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/bts.c b/src/common/bts.c
index 5220406d..97e7a8b1 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -340,7 +340,7 @@ int trx_link_estab(struct gsm_bts_trx *trx)
else
rc = bts_model_trx_deact_rf(trx);
if (rc < 0) {
- oml_tx_failure_event_rep(&trx->bb_transc.mo, OSMO_EVT_MAJ_RSL_FAIL,
+ oml_tx_failure_event_rep(&trx->bb_transc.mo, NM_SEVER_MAJOR, OSMO_EVT_MAJ_RSL_FAIL,
link ?
"Failed to establish RSL link (%d)" :
"Failed to deactivate RF (%d)", rc);