aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/bsc_rf_ctrl.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2019-01-02 15:28:17 +0100
committerMax <msuraev@sysmocom.de>2019-01-03 19:10:58 +0000
commit45867378f1def5ce15d09c8ad9a32dc9cc4aa57d (patch)
tree02fb81bb592389fb9ec8d3c8ac97b72253e2726a /src/osmo-bsc/bsc_rf_ctrl.c
parent38134eac8bfe55fab5d3f3af2b77445f14f3966c (diff)
IPA: log OML/RSL link drop reason
There could multiple reason for OML or RSL link towards BTS to be dropped: ctrl command, vty, new link etc. Introduce "reason" parameter to corresponding functions and log it on link drop to simplify troubleshooting issues with more complex setups. Change-Id: I8c8d8132ba67c31e40dbecdfe2e09be08c744899
Diffstat (limited to 'src/osmo-bsc/bsc_rf_ctrl.c')
-rw-r--r--src/osmo-bsc/bsc_rf_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/bsc_rf_ctrl.c b/src/osmo-bsc/bsc_rf_ctrl.c
index 791abf6cb..0aa8e494a 100644
--- a/src/osmo-bsc/bsc_rf_ctrl.c
+++ b/src/osmo-bsc/bsc_rf_ctrl.c
@@ -227,7 +227,7 @@ static void rf_check_cb(void *_data)
trx->mo.nm_state.operational != NM_OPSTATE_ENABLED ||
trx->mo.nm_state.administrative != NM_STATE_UNLOCKED) {
LOGP(DNM, LOGL_ERROR, "RF activation failed. Starting again.\n");
- ipaccess_drop_oml(bts);
+ ipaccess_drop_oml(bts, "rf check");
break;
}
}