From ff66363716e5776fa7b9e8a4f3d1a1e6d171ee23 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 26 Jun 2011 19:10:56 +0200 Subject: ipaccess: add msg->trx to reduce the size of the openbsc-port patch This is a temporary change to keep the openbsc port over libosmo-abis smaller. We'll remove it at some point once we fully transition to the new msg->dst routing attribute. --- src/input/ipaccess.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/input') diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c index 22d5cd1..d1ada94 100644 --- a/src/input/ipaccess.c +++ b/src/input/ipaccess.c @@ -194,6 +194,7 @@ static int handle_ts1_read(struct osmo_fd *bfd) return -EIO; } msg->dst = link; + msg->trx = link->trx; /* XXX better use e1inp_ts_rx? */ if (!e1i_ts->line->ops->sign_link) { @@ -434,6 +435,7 @@ static int ipaccess_bts_cb(struct ipa_client_link *link, struct msgb *msg) return -EIO; } msg->dst = sign_link; + msg->trx = sign_link->trx; /* XXX better use e1inp_ts_rx? */ if (!link->line->ops->sign_link) { -- cgit v1.2.3-55-g7522