diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2011-08-17 22:43:54 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-08-19 22:38:33 +0200 |
commit | 7abecfcfc9ef94c1367cd88ac858b79d20f75db0 (patch) | |
tree | b9df6f561a169ec9ca174217ac6b0a7eafda0686 /openbsc/src/libbsc/bts_hsl_femtocell.c | |
parent | c45a8045a645d64782ab2afbce79732d3f9d12a1 (diff) |
src: use new msg->dst pointer instead of deprecated msg->trx
This patch modifies openBSC code to use msg->dst which stores the
pointer to the signalling link structure instead of the pointer to
the transceiver structure.
This patch prepares the introduction of libosmo-abis.
Diffstat (limited to 'openbsc/src/libbsc/bts_hsl_femtocell.c')
-rw-r--r-- | openbsc/src/libbsc/bts_hsl_femtocell.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/src/libbsc/bts_hsl_femtocell.c b/openbsc/src/libbsc/bts_hsl_femtocell.c index f94369356..8463202a3 100644 --- a/openbsc/src/libbsc/bts_hsl_femtocell.c +++ b/openbsc/src/libbsc/bts_hsl_femtocell.c @@ -98,20 +98,20 @@ static int hslfemto_bootstrap_om(struct gsm_bts *bts) msg = hsl_alloc_msgb(); cur = msgb_put(msg, sizeof(l1_msg)); memcpy(msg->data, l1_msg, sizeof(l1_msg)); - msg->trx = bts->c0; + msg->dst = bts->c0->rsl_link; abis_rsl_sendmsg(msg); #if 1 msg = hsl_alloc_msgb(); cur = msgb_put(msg, sizeof(conn_trau_msg)); memcpy(msg->data, conn_trau_msg, sizeof(conn_trau_msg)); - msg->trx = bts->c0; + msg->dst = bts->c0->rsl_link; abis_rsl_sendmsg(msg); #endif msg = hsl_alloc_msgb(); cur = msgb_put(msg, sizeof(conn_trau_msg2)); memcpy(msg->data, conn_trau_msg2, sizeof(conn_trau_msg2)); - msg->trx = bts->c0; + msg->dst = bts->c0->rsl_link; abis_rsl_sendmsg(msg); *((uint16_t *)oml_arfcn_bsic+10) = htons(bts->c0->arfcn); @@ -120,7 +120,7 @@ static int hslfemto_bootstrap_om(struct gsm_bts *bts) msg = hsl_alloc_msgb(); cur = msgb_put(msg, sizeof(oml_arfcn_bsic)); memcpy(msg->data, oml_arfcn_bsic, sizeof(oml_arfcn_bsic)); - msg->trx = bts->c0; + msg->dst = bts->c0->rsl_link; _abis_nm_sendmsg(msg, 0); /* Delay the OPSTART until after SI have been set via RSL */ |