aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-08-22 22:58:10 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-08-27 12:31:32 +0000
commit988f634c97d070840f4ffc952f6bac32d967859b (patch)
tree650670dc0baf069441b3516e41406c1861066b7a
parente77bcaecb6e45b55b8e31fea7cf10c2652431c1c (diff)
log: l1sap: add 0x to hex output of chan_nr, 5 times
-rw-r--r--src/common/l1sap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 2ab4055..f7df218 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -403,7 +403,7 @@ static int l1sap_info_meas_ind(struct gsm_bts_trx *trx,
struct bts_ul_meas ulm;
struct gsm_lchan *lchan;
- DEBUGP(DL1P, "MPH_INFO meas ind chan_nr=%02x\n",
+ DEBUGP(DL1P, "MPH_INFO meas ind chan_nr=0x%02x\n",
info_meas_ind->chan_nr);
lchan = get_active_lchan_by_chan_nr(trx, info_meas_ind->chan_nr);
@@ -489,7 +489,7 @@ static int l1sap_info_rel_cnf(struct gsm_bts_trx *trx,
{
struct gsm_lchan *lchan;
- LOGP(DL1P, LOGL_INFO, "deactivate confirm chan_nr=%02x trx=%d\n",
+ LOGP(DL1P, LOGL_INFO, "deactivate confirm chan_nr=0x%02x trx=%d\n",
info_act_cnf->chan_nr, trx->nr);
lchan = get_lchan_by_chan_nr(trx, info_act_cnf->chan_nr);
@@ -1148,7 +1148,7 @@ int l1sap_chan_act(struct gsm_bts_trx *trx, uint8_t chan_nr, struct tlv_parsed *
int l1sap_chan_rel(struct gsm_bts_trx *trx, uint8_t chan_nr)
{
- LOGP(DL1P, LOGL_INFO, "deactivating channel chan_nr=%02x trx=%d\n",
+ LOGP(DL1P, LOGL_INFO, "deactivating channel chan_nr=0x%02x trx=%d\n",
chan_nr, trx->nr);
return l1sap_chan_act_dact_modify(trx, chan_nr, PRIM_INFO_DEACTIVATE,
@@ -1159,7 +1159,7 @@ int l1sap_chan_deact_sacch(struct gsm_bts_trx *trx, uint8_t chan_nr)
{
struct gsm_lchan *lchan = get_lchan_by_chan_nr(trx, chan_nr);
- LOGP(DL1P, LOGL_INFO, "deactivating sacch chan_nr=%02x trx=%d\n",
+ LOGP(DL1P, LOGL_INFO, "deactivating sacch chan_nr=0x%02x trx=%d\n",
chan_nr, trx->nr);
lchan->sacch_deact = 1;
@@ -1170,7 +1170,7 @@ int l1sap_chan_deact_sacch(struct gsm_bts_trx *trx, uint8_t chan_nr)
int l1sap_chan_modify(struct gsm_bts_trx *trx, uint8_t chan_nr)
{
- LOGP(DL1P, LOGL_INFO, "modifying channel chan_nr=%02x trx=%d\n",
+ LOGP(DL1P, LOGL_INFO, "modifying channel chan_nr=0x%02x trx=%d\n",
chan_nr, trx->nr);
return l1sap_chan_act_dact_modify(trx, chan_nr, PRIM_INFO_MODIFY, 0);