diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-06-28 09:32:35 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-06-28 16:35:10 +0000 |
commit | ad18161c79e84062ed4a6c6630a76a2294b81c1f (patch) | |
tree | 185d154c8b0f74fbc4a08d362fc3335f0ffa5829 /epan | |
parent | 7d7f6be1fc2bbe52d34bc4fc88536e2264c638c8 (diff) |
The two bits of NESS are numbers, not Booleans.
Found by Pascal Quantin.
Change-Id: I843db0c1d28bcd4714799285da5e1ea8a81307a1
Reviewed-on: https://code.wireshark.org/review/9204
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-ieee80211-radiotap.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ieee80211-radiotap.c b/epan/dissectors/packet-ieee80211-radiotap.c index 68545a2807..cd0dcd2da4 100644 --- a/epan/dissectors/packet-ieee80211-radiotap.c +++ b/epan/dissectors/packet-ieee80211-radiotap.c @@ -1785,8 +1785,6 @@ dissect_radiotap(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) tap_queue_packet(radiotap_tap, pinfo, radiotap_info); } -static const true_false_string tfs_1_0 = { "1", "0" }; - void proto_register_radiotap(void) { @@ -2285,7 +2283,7 @@ void proto_register_radiotap(void) {&hf_radiotap_mcs_ness_bit1, {"Number of extension spatial streams bit 1", "radiotap.mcs.ness_bit1", - FT_BOOLEAN, 8, TFS(&tfs_1_0), IEEE80211_RADIOTAP_MCS_NESS_BIT1, + FT_UINT8, BASE_DEC, NULL, IEEE80211_RADIOTAP_MCS_NESS_BIT1, "Bit 1 of number of extension spatial streams information", HFILL}}, {&hf_radiotap_mcs_bw, @@ -2315,7 +2313,7 @@ void proto_register_radiotap(void) {&hf_radiotap_mcs_ness_bit0, {"Number of extension spatial streams bit 0", "radiotap.mcs.ness_bit1", - FT_BOOLEAN, 8, TFS(&tfs_1_0), IEEE80211_RADIOTAP_MCS_NESS_BIT1, + FT_UINT8, BASE_DEC, NULL, IEEE80211_RADIOTAP_MCS_NESS_BIT1, "Bit 0 of number of extension spatial streams information", HFILL}}, {&hf_radiotap_mcs_index, |