From f91e147aa7a53d82dbaa0799996afa20dc409c90 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 19 Nov 2018 12:56:47 +0100 Subject: bsc: Prefix log string with related SI type during call to list_arfcn SI2 and SI5 "same band" strings already contain the prefix. Change-Id: Ie466abedce630ef0a8e7a8021383a1a612a0da8a --- src/osmo-bsc/system_information.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/osmo-bsc/system_information.c b/src/osmo-bsc/system_information.c index 2104e9272..086b8e98e 100644 --- a/src/osmo-bsc/system_information.c +++ b/src/osmo-bsc/system_information.c @@ -773,7 +773,7 @@ static int generate_si2bis(enum osmo_sysinfo_type t, struct gsm_bts *bts) if (rc < 0) return rc; n = list_arfcn(si2b->bcch_frequency_list, 0xce, - "Neighbour cells in same band, but outside P-GSM:"); + "SI2bis Neighbour cells in same band, but outside P-GSM:"); if (n) { /* indicate in SI2 and SI2bis: there is an extension */ struct gsm48_system_information_type_2 *si2 = @@ -811,7 +811,7 @@ static int generate_si2ter(enum osmo_sysinfo_type t, struct gsm_bts *bts) if (rc < 0) return rc; n = list_arfcn(si2t->ext_bcch_frequency_list, 0x8e, - "Neighbour cells in different band:"); + "SI2ter Neighbour cells in different band:"); if (!n) bts->si_valid &= ~(1 << SYSINFO_TYPE_2ter); @@ -1046,7 +1046,7 @@ static int generate_si5bis(enum osmo_sysinfo_type t, struct gsm_bts *bts) if (rc < 0) return rc; n = list_arfcn(si5b->bcch_frequency_list, 0xce, - "Neighbour cells in same band, but outside P-GSM:"); + "SI5bis Neighbour cells in same band, but outside P-GSM:"); if (n) { /* indicate in SI5 and SI5bis: there is an extension */ struct gsm48_system_information_type_5 *si5 = @@ -1090,7 +1090,7 @@ static int generate_si5ter(enum osmo_sysinfo_type t, struct gsm_bts *bts) if (rc < 0) return rc; n = list_arfcn(si5t->bcch_frequency_list, 0x8e, - "Neighbour cells in different band:"); + "SI5ter Neighbour cells in different band:"); if (!n) bts->si_valid &= ~(1 << SYSINFO_TYPE_5ter); -- cgit v1.2.3