fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18836 )


Change subject: A-bis/OML: fix logging: do not print A-bis MO name twice
......................................................................

A-bis/OML: fix logging: do not print A-bis MO name twice

LOGPFOH() itself prepends A-bis MO name to the logging message.

Change-Id: I513efeb441a69e9eee1ad7bbd8cb0b552b7195eb
---
M src/common/oml.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/36/18836/1

diff --git a/src/common/oml.c b/src/common/oml.c
index 5610ab1..28fa066 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -937,8 +937,8 @@
                /* If there is no TSC specified, use the BCC */
                ts->tsc = BSIC2BCC(bts->bsic);
        }
-       LOGPFOH(DOML, LOGL_INFO, foh, "%s SET CHAN ATTR (TSC=%u pchan=%s)\n",
-               gsm_abis_mo_name(&ts->mo), ts->tsc, gsm_pchan_name(ts->pchan));
+       LOGPFOH(DOML, LOGL_INFO, foh, "SET CHAN ATTR (TSC=%u pchan=%s)\n",
+               ts->tsc, gsm_pchan_name(ts->pchan));

        /* call into BTS driver to apply new attributes to hardware */
        return bts_model_apply_oml(bts, msg, tp_merged, NM_OC_CHANNEL, ts);

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/18836
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I513efeb441a69e9eee1ad7bbd8cb0b552b7195eb
Gerrit-Change-Number: 18836
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanits...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to