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/bsc_api.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/bsc_api.c')
-rw-r--r-- | openbsc/src/libbsc/bsc_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/bsc_api.c b/openbsc/src/libbsc/bsc_api.c index 78fee8894..756337852 100644 --- a/openbsc/src/libbsc/bsc_api.c +++ b/openbsc/src/libbsc/bsc_api.c @@ -277,7 +277,7 @@ int gsm0808_submit_dtap(struct gsm_subscriber_connection *conn, sapi = link_id & 0x7; msg->lchan = conn->lchan; - msg->trx = msg->lchan->ts->trx; + msg->dst = msg->lchan->ts->trx->rsl_link; /* If we are on a TCH and need to submit a SMS (on SAPI=3) we need to use the SACH */ if (allow_sach && sapi != 0) { |