diff options
author | Max <msuraev@sysmocom.de> | 2017-09-07 19:10:09 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-10-23 17:53:48 +0000 |
commit | 5a4594614390978f7dab05f08d607c3903163cea (patch) | |
tree | 751294462bd31537dc5e79e1dfb527ffecd1aeb9 /openbsc/include | |
parent | 65021ac50792a42bcc21e482c27e0f915c435716 (diff) |
Make TRX rf locking more visible
* log administrative state transitions
* log what's caused it
* while at it, mark boolean variable as such
Cherry-picked from osmo-bsc be356ed32fbd28dc8d1460371d9e47511b20ac63
Change-Id: I3e25a19fac4d0b4886d825c9876771b1f66efe58
Related: SYS#3864
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 4035b396b..57fa30173 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -578,7 +578,7 @@ struct gsm_bts *gsm_bts_alloc_register(struct gsm_network *net, void set_ts_e1link(struct gsm_bts_trx_ts *ts, uint8_t e1_nr, uint8_t e1_ts, uint8_t e1_ts_ss); -void gsm_trx_lock_rf(struct gsm_bts_trx *trx, int locked); +void gsm_trx_lock_rf(struct gsm_bts_trx *trx, bool locked, const char *reason); bool gsm_btsmodel_has_feature(struct gsm_bts_model *model, enum gsm_bts_features feat); struct gsm_bts_trx *gsm_bts_trx_by_nr(struct gsm_bts *bts, int nr); int gsm_bts_trx_set_system_infos(struct gsm_bts_trx *trx); |