diff options
author | Max <msuraev@sysmocom.de> | 2017-01-24 16:27:06 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-01-25 13:24:52 +0100 |
commit | 871e0bec7e5218defc404b117dd6f89906c5c0da (patch) | |
tree | 9ca1c2793b2995cbef67fb60befcebc64b88038a /include/osmo-bts/oml.h | |
parent | 10b11325a77af9a159bf05af0cd2ad7a3d24dc58 (diff) |
OML: internalize failure reporting
* make oml_tx_failure_event_rep() static and use osmo_signal_dispatch()
wrapped into oml_fail_rep() to trigger event reports outside of oml.c
instead of directly calling into OML layer
* remove unnecessary formatting from text messages
Related: OS#1615
Change-Id: I738555c547926e97b325ab53763c0076c42309bc
Diffstat (limited to 'include/osmo-bts/oml.h')
-rw-r--r-- | include/osmo-bts/oml.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/osmo-bts/oml.h b/include/osmo-bts/oml.h index 217ec64c..139464ec 100644 --- a/include/osmo-bts/oml.h +++ b/include/osmo-bts/oml.h @@ -9,7 +9,7 @@ struct msgb; struct gsm_lchan; -int oml_init(void); +int oml_init(struct gsm_abis_mo *mo); int down_oml(struct gsm_bts *bts, struct msgb *msg); struct msgb *oml_msgb_alloc(void); @@ -45,7 +45,6 @@ int oml_set_lchan_t200(struct gsm_lchan *lchan); extern const unsigned int oml_default_t200_ms[7]; /* Transmit failure event report */ -int oml_tx_failure_event_rep(struct gsm_abis_mo *mo, uint16_t cause_value, - const char *fmt, ...); +void oml_fail_rep(uint16_t cause_value, const char *fmt, ...); #endif // _OML_H */ |