aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2017-10-11 21:31:42 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2017-10-11 19:37:20 +0000
commitb363e46ad48a8a2b340dd6792fdce1800a8cee44 (patch)
treefa30816f13fc71d0ba386097d643b38b09d39683
parent9551aca9a685e97a03d58eb63e4b791416ba4c63 (diff)
IEEE 802.11: add missing breaks
Change-Id: Ie26b0c869a778f7e27cb6d944c2e32ced0d3337e Reviewed-on: https://code.wireshark.org/review/23889 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
-rw-r--r--epan/dissectors/packet-ieee80211.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c
index 47c665b551..2923aa06ea 100644
--- a/epan/dissectors/packet-ieee80211.c
+++ b/epan/dissectors/packet-ieee80211.c
@@ -5633,10 +5633,13 @@ add_mimo_compressed_beamforming_feedback_report(proto_tree *tree, tvbuff_t *tvb,
switch(snr) {
case -128:
edge_sign = '<';
+ break;
case 127:
edge_sign = '>';
+ break;
default:
edge_sign = ' ';
+ break;
}
proto_tree_add_uint_format(snr_tree, hf_ieee80211_ff_mimo_csi_snr, tvb, offset, 1,
snr, "Stream %d - Signal to Noise Ratio: %c%3.2fdB", i, edge_sign,snr/4.0+22.0);
@@ -9502,10 +9505,13 @@ add_ff_vht_compressed_beamforming_report(proto_tree *tree, tvbuff_t *tvb, packet
switch(snr) {
case -128:
edge_sign = '<';
+ break;
case 127:
edge_sign = '>';
+ break;
default:
edge_sign = ' ';
+ break;
}
proto_tree_add_int_format(subtree, hf_ieee80211_vht_compressed_beamforming_report_snr, tvb, offset, 1,