diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-04-30 21:55:38 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-04-30 21:56:50 +0200 |
commit | 3a6220cae26c9f10d85519c7495ed6b30e6fbc54 (patch) | |
tree | 15545610ed2b0018a7d8beaec6c14cd7dda6528b /src | |
parent | 6a4c8a85967c54130f44e8339bf38b8dae1d2c6d (diff) |
rsl: Add the channel name to the act nack and conn fail message
Diffstat (limited to 'src')
-rw-r--r-- | src/common/rsl.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c index 9a50a335..f6690991 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -528,7 +528,9 @@ int rsl_tx_chan_act_nack(struct gsm_lchan *lchan, uint8_t cause) struct msgb *msg; uint8_t chan_nr = gsm_lchan2chan_nr(lchan); - LOGP(DRSL, LOGL_NOTICE, "Sending Channel Activated NACK: cause = 0x%02x\n", cause); + LOGP(DRSL, LOGL_NOTICE, + "%s Sending Channel Activated NACK: cause = 0x%02x\n", + gsm_lchan_name(lchan), cause); msg = rsl_msgb_alloc(sizeof(struct abis_rsl_dchan_hdr)); if (!msg) @@ -548,7 +550,9 @@ int rsl_tx_conn_fail(struct gsm_lchan *lchan, uint8_t cause) struct msgb *msg; uint8_t chan_nr = gsm_lchan2chan_nr(lchan); - LOGP(DRSL, LOGL_NOTICE, "Sending Connection Failure: cause = 0x%02x\n", cause); + LOGP(DRSL, LOGL_NOTICE, + "%s Sending Connection Failure: cause = 0x%02x\n", + gsm_lchan_name(lchan), cause); msg = rsl_msgb_alloc(sizeof(struct abis_rsl_dchan_hdr)); if (!msg) |