diff options
author | Keith <keith@rhizomatica.org> | 2023-08-04 15:53:25 -0600 |
---|---|---|
committer | Keith <keith@rhizomatica.org> | 2023-08-04 15:53:39 -0600 |
commit | 8ae829cabcf91f15851572b87d397a9c620f240c (patch) | |
tree | a5f0a1161105224e6f7130fe50096258a2b3d6cc | |
parent | 007e72d5bcc5cf2bc25cd667f12a5c6605d199b6 (diff) |
Fix incorrect order of params passed to logging macro
Stops log lines like:
'DOML unknown 0x239616 (bts=0,trx=0,ts=1,ss=0) [....]'
Change-Id: Ie1ad41210280ae5dbe693de6bdc4378ff34621b7
-rw-r--r-- | src/osmo-bts-sysmo/tch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/tch.c b/src/osmo-bts-sysmo/tch.c index 0109771e..a0d1cf89 100644 --- a/src/osmo-bts-sysmo/tch.c +++ b/src/osmo-bts-sysmo/tch.c @@ -635,7 +635,7 @@ int l1if_tch_rx_facch(struct gsm_bts_trx *trx, uint8_t chan_nr, if (is_recv_only(lchan->abis_ip.speech_mode)) return -EAGAIN; - LOGPLCFN(lchan, DL1P, LOGL_DEBUG, data_ind->u32Fn, "chan_nr %d Rx FACCH\n", chan_nr); + LOGPLCFN(lchan, data_ind->u32Fn, DL1P, LOGL_DEBUG, "chan_nr %d Rx FACCH\n", chan_nr); /* Push empty payload to upper layers */ rmsg = msgb_alloc_headroom(256, 128, "L1P-to-RTP"); return add_l1sap_header(trx, rmsg, lchan, chan_nr, data_ind->u32Fn, |