diff options
author | Max <msuraev@sysmocom.de> | 2017-04-10 17:01:47 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-05-08 08:31:52 +0000 |
commit | 9d5ec1af749c82515023f16318b40d775c8e795a (patch) | |
tree | 6cae298189b53d6213222c0255e97b794c4ba58e /src/common/oml.c | |
parent | 91685096f8eae4a0be2b3bd2a773259c516897de (diff) |
Signal to BSC when PCU disconnects
While at it - do not serialize NULL as a string when delivering OML
Failure Report.
Change-Id: I41a731bd719aee0bbb98d3236405fb3a7f3ddec0
Related: OS#1615
Diffstat (limited to 'src/common/oml.c')
-rw-r--r-- | src/common/oml.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/oml.c b/src/common/oml.c index 7069377f..9d65d835 100644 --- a/src/common/oml.c +++ b/src/common/oml.c @@ -1241,7 +1241,10 @@ int down_oml(struct gsm_bts *bts, struct msgb *msg) static int handle_fail_sig(unsigned int subsys, unsigned int signal, void *handle, void *signal_data) { - oml_tx_failure_event_rep(handle, signal, "%s", signal_data); + if (signal_data) + oml_tx_failure_event_rep(handle, signal, "%s", signal_data); + else + oml_tx_failure_event_rep(handle, signal, ""); return 0; } |