aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2019-03-15 10:30:18 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2019-03-18 09:20:58 +0100
commit3dd90a09e4376a372684e29856ddd7602fe66b2f (patch)
treebb3776cecfe83f37e68cdc2525796ecf3787a1c8 /src
parentfc17dc763f493d8a6c02eb01de307be81004ea0c (diff)
oml: make oml_tx_failure_event_rep() public
The static function oml_tx_failure_event_rep() is a lot easier to use than the currently implemented signal scheme. Lets make it public so that we can quickly generate failure event reports. Change-Id: I9c4601840a06119f35cfe4da453fff3b293fe615 Related: OS#3823
Diffstat (limited to 'src')
-rw-r--r--src/common/oml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/oml.c b/src/common/oml.c
index b04caf63..ac388d1b 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -67,8 +67,8 @@ struct msgb *oml_msgb_alloc(void)
}
/* 3GPP TS 12.21 ยง 8.8.2 */
-static int oml_tx_failure_event_rep(const struct gsm_abis_mo *mo, uint16_t cause_value,
- const char *fmt, ...)
+int oml_tx_failure_event_rep(const struct gsm_abis_mo *mo, uint16_t cause_value,
+ const char *fmt, ...)
{
struct msgb *nmsg;
va_list ap;