laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/32198 ) Change subject: cosmetic: bts_uarfcn_add(): pass diversity directly to encode_fdd() ...................................................................... cosmetic: bts_uarfcn_add(): pass diversity directly to encode_fdd() Change-Id: I274e5b7cf43b710a58b3c370334c5639c9f5e249 Related: SYS#6401 --- M src/osmo-bsc/system_information.c 1 file changed, 11 insertions(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/src/osmo-bsc/system_information.c b/src/osmo-bsc/system_information.c index cfc9a04..97294f4 100644 --- a/src/osmo-bsc/system_information.c +++ b/src/osmo-bsc/system_information.c @@ -298,7 +298,7 @@ size_t len = bts->si_common.uarfcn_length, i; uint8_t si2q; int pos = uarfcn_sc_pos(bts, arfcn, scramble); - uint16_t scr = diversity ? encode_fdd(scramble, true) : encode_fdd(scramble, false), + uint16_t scr = encode_fdd(scramble, diversity), *ual = bts->si_common.data.uarfcn_list, *scl = bts->si_common.data.scramble_list; -- To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/32198 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Change-Id: I274e5b7cf43b710a58b3c370334c5639c9f5e249 Gerrit-Change-Number: 32198 Gerrit-PatchSet: 2 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-MessageType: merged