From afa0ad17238cd0a0dfd1d62929f937739f79b24d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 18 Apr 2012 18:58:36 +0200 Subject: lchan: Fix the name of the SACCH in the variable names Call the channel by the right name. --- openbsc/src/libbsc/bsc_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc/src/libbsc/bsc_api.c') diff --git a/openbsc/src/libbsc/bsc_api.c b/openbsc/src/libbsc/bsc_api.c index a451e0501..f0b806303 100644 --- a/openbsc/src/libbsc/bsc_api.c +++ b/openbsc/src/libbsc/bsc_api.c @@ -272,7 +272,7 @@ int bsc_api_init(struct gsm_network *network, struct bsc_api *api) /*! \brief process incoming 08.08 DTAP from MSC (send via BTS to MS) */ int gsm0808_submit_dtap(struct gsm_subscriber_connection *conn, - struct msgb *msg, int link_id, int allow_sach) + struct msgb *msg, int link_id, int allow_sacch) { uint8_t sapi; @@ -289,7 +289,7 @@ int gsm0808_submit_dtap(struct gsm_subscriber_connection *conn, 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) { + if (allow_sacch && sapi != 0) { if (conn->lchan->type == GSM_LCHAN_TCH_F || conn->lchan->type == GSM_LCHAN_TCH_H) link_id |= 0x40; } -- cgit v1.2.3