aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gsm_04_08.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-26 05:45:44 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-26 05:49:34 +0100
commit17d751531ec42fc1e63dd985c117ed4cd69eb04b (patch)
tree1ff80d4210069db51548e2d152f424e0cae1cea0 /openbsc/src/gsm_04_08.c
parentfacb5cdfc2d20de703c90e12a62b4ca69dea278b (diff)
parent3c1221e2b23876cf0cb4170281eceb73e3395efd (diff)
Merge branch 'on-waves/sccp' into on-waves/bsc-master
Diffstat (limited to 'openbsc/src/gsm_04_08.c')
-rw-r--r--openbsc/src/gsm_04_08.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c
index adb9de80f..5c0bc8be9 100644
--- a/openbsc/src/gsm_04_08.c
+++ b/openbsc/src/gsm_04_08.c
@@ -1003,7 +1003,8 @@ static void new_cc_state(struct gsm_trans *trans, int state)
return;
DEBUGP(DCC, "new state %s -> %s\n",
- cc_state_names[trans->cc.state], cc_state_names[state]);
+ gsm48_cc_state_name(trans->cc.state),
+ gsm48_cc_state_name(state));
trans->cc.state = state;
}
@@ -2714,7 +2715,7 @@ int mncc_send(struct gsm_network *net, int msg_type, void *arg)
trans->transaction_id,
(lchan->subscr)?(lchan->subscr->extension):"-",
get_mncc_name(msg_type), trans->cc.state,
- cc_state_names[trans->cc.state]);
+ gsm48_cc_state_name(trans->cc.state));
/* Find function for current state and message */
for (i = 0; i < DOWNSLLEN; i++)
@@ -2807,8 +2808,8 @@ static int gsm0408_rcv_cc(struct msgb *msg)
"Received '%s' from MS in state %d (%s)\n",
lchan->ts->trx->bts->nr, lchan->ts->trx->nr, lchan->ts->nr,
transaction_id, (lchan->subscr)?(lchan->subscr->extension):"-",
- gsm48_cc_msg_names[msg_type], trans?(trans->cc.state):0,
- cc_state_names[trans?(trans->cc.state):0]);
+ gsm48_cc_msg_name(msg_type), trans?(trans->cc.state):0,
+ gsm48_cc_state_name(trans?(trans->cc.state):0));
/* Create transaction */
if (!trans) {