diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-05-25 10:19:00 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-25 10:24:13 +0200 |
commit | dfa3bb8a10e9fd12e583f9e996679836793a55bd (patch) | |
tree | be265c053fa2dbb3dde2ea70d95d0a13bd4a6078 /src/common/l1sap.c | |
parent | b8265c63cc7d0b7060860d42dfc348423102d9c5 (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/l1sap.c')
-rw-r--r-- | src/common/l1sap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c index 52f2b334..59d5b931 100644 --- a/src/common/l1sap.c +++ b/src/common/l1sap.c @@ -1358,7 +1358,7 @@ int l1sap_up(struct gsm_bts_trx *trx, struct osmo_phsap_prim *l1sap) default: LOGP(DL1P, LOGL_NOTICE, "unknown prim %d op %d\n", l1sap->oph.primitive, l1sap->oph.operation); - oml_tx_failure_event_rep(&trx->mo, OSMO_EVT_MAJ_UKWN_MSG, + oml_tx_failure_event_rep(&trx->mo, NM_SEVER_MAJOR, OSMO_EVT_MAJ_UKWN_MSG, "unknown prim %d op %d", l1sap->oph.primitive, l1sap->oph.operation); |