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/utils/rs232.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/utils/rs232.c') diff --git a/openbsc/src/utils/rs232.c b/openbsc/src/utils/rs232.c index 4e35cb06a..01b8c7e33 100644 --- a/openbsc/src/utils/rs232.c +++ b/openbsc/src/utils/rs232.c @@ -128,7 +128,7 @@ static int handle_ser_read(struct osmo_fd *bfd) if (!sh->rx_msg) { sh->rx_msg = msgb_alloc(SERIAL_ALLOC_SIZE, "RS232 Rx"); sh->rx_msg->l2h = NULL; - sh->rx_msg->trx = sh->bts->c0; + sh->rx_msg->dst = sh->bts->c0->rsl_link; } msg = sh->rx_msg; -- cgit v1.2.3