diff options
author | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | 2009-12-27 11:48:11 +0100 |
---|---|---|
committer | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | 2009-12-27 11:48:11 +0100 |
commit | 31092ad9afd7ffe77e7ce26e76b3d43c4fd17534 (patch) | |
tree | 028a8857e0d01a1a76e634bd0532d5b473aec861 | |
parent | bd19d5c6fef79df8dd5785536b2631b6513867ed (diff) |
correctly print chan act nack error
-rw-r--r-- | openbsc/src/abis_rsl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c index fdccd8378..58a5366b0 100644 --- a/openbsc/src/abis_rsl.c +++ b/openbsc/src/abis_rsl.c @@ -949,6 +949,9 @@ static int rsl_rx_chan_act_nack(struct msgb *msg) struct abis_rsl_dchan_hdr *dh = msgb_l2(msg); struct tlv_parsed tp; + LOGP(DRSL, LOGL_ERROR, "%s CHANNEL ACTIVATE NACK", + gsm_ts_name(msg->lchan->ts)); + /* BTS has rejected channel activation ?!? */ if (dh->ie_chan != RSL_IE_CHAN_NR) return -EINVAL; @@ -960,6 +963,8 @@ static int rsl_rx_chan_act_nack(struct msgb *msg) msg->lchan->state = LCHAN_S_NONE; + LOGPC(DRSL, LOGL_ERROR, "\n"); + dispatch_signal(SS_LCHAN, S_LCHAN_ACTIVATE_NACK, msg->lchan); lchan_free(msg->lchan); @@ -1140,7 +1145,6 @@ static int abis_rsl_rx_dchan(struct msgb *msg) rc = rsl_rx_chan_act_ack(msg); break; case RSL_MT_CHAN_ACTIV_NACK: - DEBUGP(DRSL, "%s CHANNEL ACTIVATE NACK\n", ts_name); rc = rsl_rx_chan_act_nack(msg); break; case RSL_MT_CONN_FAIL: |