aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-08-23 18:42:24 +0200
committerVadim Yanitskiy <axilirator@gmail.com>2019-08-27 11:06:11 +0200
commitdf0fd8ba27bff5890ecd8bda960fffcf45d1db35 (patch)
tree468a7829909b04bcd9f1ebdbc87c736355adc6a2
parent9e5ef54594250bdd58a15cf03307ee892baa1ab1 (diff)
osmobts_sock.cpp: do not print the same debug message twice
The following message is printed by the pcu_tx_txt_ind(): DL1IF INFO pcu_l1_if.cpp:113 Sending XXX TXT as PCU_VERSION to BTS There is no need to print it twice: DL1IF INFO osmobts_sock.cpp:74 Sending version XXX to BTS. DL1IF INFO pcu_l1_if.cpp:113 Sending XXX TXT as PCU_VERSION to BTS Change-Id: Ic2793f20cf9df2fa08c45070a8f81ef1c08b925a
-rw-r--r--src/osmobts_sock.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/osmobts_sock.cpp b/src/osmobts_sock.cpp
index 4321696e..20fb174b 100644
--- a/src/osmobts_sock.cpp
+++ b/src/osmobts_sock.cpp
@@ -71,7 +71,6 @@ static void pcu_tx_txt_retry(void *_priv)
if (bts->active)
return;
- LOGP(DL1IF, LOGL_INFO, "Sending version %s to BTS.\n", PACKAGE_VERSION);
pcu_tx_txt_ind(PCU_VERSION, "%s", PACKAGE_VERSION);
osmo_timer_schedule(&state->timer, 5, 0);
}
@@ -250,7 +249,6 @@ int pcu_l1if_open(void)
pcu_sock_state = state;
- LOGP(DL1IF, LOGL_INFO, "Sending version %s to BTS.\n", PACKAGE_VERSION);
pcu_tx_txt_ind(PCU_VERSION, "%s", PACKAGE_VERSION);
/* Schedule a timer so we keep trying until the BTS becomes active. */