diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-04-18 18:58:36 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-04-18 18:58:36 +0200 |
commit | afa0ad17238cd0a0dfd1d62929f937739f79b24d (patch) | |
tree | 76e38a1a5741183f2997575eda4b15fd26a16dde /openbsc/src/libbsc/bsc_api.c | |
parent | cc7b22a53b2842af59f7bb84ca71c4edf455636c (diff) |
lchan: Fix the name of the SACCH in the variable names
Call the channel by the right name.
Diffstat (limited to 'openbsc/src/libbsc/bsc_api.c')
-rw-r--r-- | openbsc/src/libbsc/bsc_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |