summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-06-05 20:28:48 +0000
committerHarald Welte <laforge@gnumonks.org>2009-06-05 20:28:48 +0000
commit9d12ea0e47177a4e97fa1484c2389f5a0c169a2b (patch)
treedd7339067031899cb190e4cc375aa5d3dd503b68 /src
parentd2a7f5a7b26595f6dcd7d236691bdbdc0850accd (diff)
fix CONN FAIL and IPAC_DISCONNECT_IND log printing
Diffstat (limited to 'src')
-rw-r--r--src/abis_rsl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/abis_rsl.c b/src/abis_rsl.c
index 730121c4f..06753c3d7 100644
--- a/src/abis_rsl.c
+++ b/src/abis_rsl.c
@@ -750,7 +750,6 @@ static int abis_rsl_rx_dchan(struct msgb *msg)
rc = rsl_rx_chan_act_nack(msg);
break;
case RSL_MT_CONN_FAIL:
- DEBUGPC(DRSL, "CONN_FAIL\n");
rc = rsl_rx_conn_fail(msg);
break;
case RSL_MT_MEAS_RES:
@@ -1124,11 +1123,11 @@ static int abis_rsl_rx_ipacc_disc_ind(struct msgb *msg)
rsl_tlv_parse(&tv, dh->data, msgb_l2len(msg)-sizeof(*dh));
if (!TLVP_PRESENT(&tv, RSL_IE_CAUSE)) {
- DEBUGP(DRSL, "mandatory IE missing\n");
+ DEBUGPC(DRSL, "mandatory IE missing! ");
return -EINVAL;
}
- DEBUGPC(DRSL, "cause=0x%02x\n", *TLVP_VAL(&tv, RSL_IE_CAUSE));
+ DEBUGPC(DRSL, "cause=0x%02x ", *TLVP_VAL(&tv, RSL_IE_CAUSE));
return 0;
}