aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/bts.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-07-16 14:20:32 +0200
committerlaforge <laforge@osmocom.org>2020-07-18 21:45:32 +0000
commite2f1c95774e934949cef9f5e4304fa82da070666 (patch)
tree84d4c445cbd4c9d251dabfa7fa3d16158d9d0e7e /include/osmocom/bsc/bts.h
parent388ed5848242f56a207abbc854aa5f2c519ffdb1 (diff)
bts: Drop duplicated function to get trx by number
In the big mess of gsm_data we reached a point where we have multiple functions doing the same thing, most probably because it's hard finding stuff in there. Let's drop one of them (the one which less callers) and move it to bts.*, where it belongs. Change-Id: I9071a0ab250844619280fbe2be63ed99f2c87eb1
Diffstat (limited to 'include/osmocom/bsc/bts.h')
-rw-r--r--include/osmocom/bsc/bts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/bsc/bts.h b/include/osmocom/bsc/bts.h
index 07d279333..b38c11ad7 100644
--- a/include/osmocom/bsc/bts.h
+++ b/include/osmocom/bsc/bts.h
@@ -598,7 +598,7 @@ struct gsm_lchan *gsm_bts_get_cbch(struct gsm_bts *bts);
int gsm_set_bts_type(struct gsm_bts *bts, enum gsm_bts_type type);
-struct gsm_bts_trx *gsm_bts_trx_by_nr(struct gsm_bts *bts, int nr);
+struct gsm_bts_trx *gsm_bts_trx_num(const struct gsm_bts *bts, int num);
int bts_gprs_mode_is_compat(struct gsm_bts *bts, enum bts_gprs_mode mode);