aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-06-15 13:57:31 +0200
committerlaforge <laforge@osmocom.org>2020-06-21 16:05:02 +0000
commit959c916def9a467ed89216648d253f9cee7f093f (patch)
tree85219fcd4ab0a40dd554e3913564bc374ff3fa85
parent8c53a61aff3784729da4f6ee6a2d15f48c1c27d4 (diff)
bs11_config: Print "Not Equipped" for MBCCU (TRX) that don't exist
Particularly on BS-11 with only one TRX installed, this will improve the output of bs11_config from PHASE: 2 Load MBCCU MBCCU0: Load BTSDRX MBCCU1: unknown 0x8 Abis-link: Down to Change-Id: I10a77315d537681985f8390b838a4cabfb7d27f3 PHASE: 2 Load MBCCU MBCCU0: Load BTSDRX MBCCU1: Not equipped Abis-link: Down
-rw-r--r--src/utils/bs11_config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/bs11_config.c b/src/utils/bs11_config.c
index 7cd420354..11562336c 100644
--- a/src/utils/bs11_config.c
+++ b/src/utils/bs11_config.c
@@ -232,6 +232,7 @@ static const struct value_string mbccu_load_names[] = {
{ 3, "Load BTSBBX" },
{ 4, "Load BTSARC" },
{ 5, "Load" },
+ { 8, "Not Equipped" },
{ 0, NULL }
};