fixeria has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/98/32198/1

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: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to