osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/27928 )
Change subject: abis_nm: tweak unknown feature check ......................................................................
abis_nm: tweak unknown feature check
Print the log message about an unknown feature regardless if the feature is enabled or not.
Related: SYS#5922, OS#5538 Change-Id: Iabe016b6dca54492bf177ac84fda4357b5be404d --- M src/osmo-bsc/abis_nm.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/28/27928/1
diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c index 1c21bc2..3a3b254 100644 --- a/src/osmo-bsc/abis_nm.c +++ b/src/osmo-bsc/abis_nm.c @@ -598,7 +598,7 @@ /* Check each BTS feature in the reported vector */ for (i = 0; i < len * 8; i++) { bool Frep = osmo_bts_has_feature(&bts->features, i); - if (i >= _NUM_BTS_FEAT && Frep) { + if (i >= _NUM_BTS_FEAT) { LOGPMO(&bts->mo, DNM, LOGL_NOTICE, "Get Attributes Response: " "unknown feature 0x%02x. Consider upgrading osmo-bsc.\n", i); continue;