deprecation: use osmo_bts_features_*()
For "reported feature '%s'...", use the short feature name, which better matches the message. Change-Id: Ie09506fbf3a1f0e899f9f4c8070e3139fd1d5e9d
This commit is contained in:
parent
defb5b1200
commit
446e3c7869
|
@ -7,3 +7,4 @@
|
||||||
# If any interfaces have been added since the last public release: c:r:a + 1.
|
# If any interfaces have been added since the last public release: c:r:a + 1.
|
||||||
# If any interfaces have been removed or changed since the last public release: c:r:0.
|
# If any interfaces have been removed or changed since the last public release: c:r:0.
|
||||||
#library what description / commit summary line
|
#library what description / commit summary line
|
||||||
|
libosmocore >1.5.1 needs osmo_bts_features_name(), osmo_bts_features_desc()
|
||||||
|
|
|
@ -607,7 +607,7 @@ static int parse_attr_resp_info_attr(struct gsm_bts *bts, const struct gsm_bts_t
|
||||||
if (!Frep && Fexp) {
|
if (!Frep && Fexp) {
|
||||||
LOGPMO(&bts->mo, DNM, LOGL_NOTICE, "Get Attributes Response: "
|
LOGPMO(&bts->mo, DNM, LOGL_NOTICE, "Get Attributes Response: "
|
||||||
"reported feature '%s' is not supported, while we thought it is.\n",
|
"reported feature '%s' is not supported, while we thought it is.\n",
|
||||||
osmo_bts_feature_name(i));
|
osmo_bts_features_name(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -349,7 +349,7 @@ static void bts_dump_vty_features(struct vty *vty, struct gsm_bts *bts)
|
||||||
for (i = 0; i < _NUM_BTS_FEAT; i++) {
|
for (i = 0; i < _NUM_BTS_FEAT; i++) {
|
||||||
if (osmo_bts_has_feature(&bts->features, i)) {
|
if (osmo_bts_has_feature(&bts->features, i)) {
|
||||||
vty_out(vty, " %03u ", i);
|
vty_out(vty, " %03u ", i);
|
||||||
vty_out(vty, "%-40s%s", osmo_bts_feature_name(i), VTY_NEWLINE);
|
vty_out(vty, "%-40s%s", osmo_bts_features_desc(i), VTY_NEWLINE);
|
||||||
no_features = false;
|
no_features = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue