From 7abecfcfc9ef94c1367cd88ac858b79d20f75db0 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 17 Aug 2011 22:43:54 +0200 Subject: 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. --- openbsc/src/libbsc/gsm_04_08_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/libbsc/gsm_04_08_utils.c') diff --git a/openbsc/src/libbsc/gsm_04_08_utils.c b/openbsc/src/libbsc/gsm_04_08_utils.c index 92335f24c..968e62ec6 100644 --- a/openbsc/src/libbsc/gsm_04_08_utils.c +++ b/openbsc/src/libbsc/gsm_04_08_utils.c @@ -44,7 +44,7 @@ int ipacc_rtp_direct = 1; static int gsm48_sendmsg(struct msgb *msg) { if (msg->lchan) - msg->trx = msg->lchan->ts->trx; + msg->dst = msg->lchan->ts->trx->rsl_link; msg->l3h = msg->data; return rsl_data_request(msg, 0); -- cgit v1.2.3