fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-bsc/+/27505 )
Change subject: gsm48_make_ho_cmd(): cosmetic: use existing BTS pointer
......................................................................
gsm48_make_ho_cmd(): cosmetic: use existing BTS pointer
Change-Id: I98abe2e43af1f8fa7e70fcf7155478b39751fced
---
M src/osmo-bsc/gsm_04_08_rr.c
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/05/27505/1
diff --git a/src/osmo-bsc/gsm_04_08_rr.c b/src/osmo-bsc/gsm_04_08_rr.c
index 472e81f..53953e9 100644
--- a/src/osmo-bsc/gsm_04_08_rr.c
+++ b/src/osmo-bsc/gsm_04_08_rr.c
@@ -545,7 +545,7 @@
gh->msg_type = GSM48_MT_RR_HANDO_CMD;
/* mandatory bits */
- gsm48_cell_desc(&ho->cell_desc, new_lchan->ts->trx->bts);
+ gsm48_cell_desc(&ho->cell_desc, bts);
if (gsm48_lchan2chan_desc(&ho->chan_desc, new_lchan,
gsm_ts_tsc(new_lchan->ts), false)) {
msgb_free(msg);
return NULL;
@@ -554,7 +554,6 @@
ho->power_command = power_command;
if (new_lchan->ts->hopping.enabled) {
- struct gsm_bts *bts = new_lchan->ts->trx->bts;
struct gsm48_system_information_type_1 *si1;
si1 = GSM_BTS_SI(bts, SYSINFO_TYPE_1);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bsc/+/27505
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I98abe2e43af1f8fa7e70fcf7155478b39751fced
Gerrit-Change-Number: 27505
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange