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
This commit is contained in:
Pau Espin 2018-11-19 12:56:47 +01:00
parent 726b097b0c
commit f91e147aa7
1 changed files with 4 additions and 4 deletions

View File

@ -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);