aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/utils/rs232.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/utils/rs232.c')
-rw-r--r--openbsc/src/utils/rs232.c2
1 files changed, 1 insertions, 1 deletions
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;