aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-12-08 15:35:52 +0100
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-12-08 15:38:00 +0100
commit1587307a992eeeee92558137fbc4230abd663a47 (patch)
tree2a2bafb8c9d1444fb3f34938a5f2877efda4c799
parent7e83f18bba236b6663b42033572e033ca559da39 (diff)
vty: fix swapped documentation for 'filler type' command
vty_cmd_string_from_valstr() expands the given 'struct value_string' sequentionally, so the order of entries in both filler_{types,docs} shall match (regardless of the value assigned). Change-Id: Ieb3bbc4fb30f303c47555ca77d03a9e965bc72b5
-rw-r--r--CommonLibs/trx_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CommonLibs/trx_vty.c b/CommonLibs/trx_vty.c
index e672928..0bb83fe 100644
--- a/CommonLibs/trx_vty.c
+++ b/CommonLibs/trx_vty.c
@@ -68,8 +68,8 @@ static const struct value_string filler_types[] = {
};
static const struct value_string filler_docs[] = {
- { FILLER_ZERO, "Send an empty burst (default)" },
{ FILLER_DUMMY, "Send a Dummy Burst on C0 (TRX0) and empty burst on other channels" },
+ { FILLER_ZERO, "Send an empty burst (default)" },
{ FILLER_NORM_RAND, "Send a GMSK modulated Normal Burst with random bits (spectrum mask testing)" },
{ FILLER_EDGE_RAND, "Send an 8-PSK modulated Normal Burst with random bits (spectrum mask testing)" },
{ FILLER_ACCESS_RAND, "Send an Access Burst with random bits (Rx/Tx alignment testing)" },