aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2018-09-12 14:43:02 +0300
committerAnders Broman <a.broman58@gmail.com>2018-09-13 13:58:56 +0000
commite6d9b78402bf1f58adb5c3bd2c5b618edcf3f9af (patch)
tree3ba881a5221e4cee90a4e8ac65926a584605a3c0
parent35e4bbe69111760a498286b8c56ca17b5f0d4f66 (diff)
ieee80211: parse the 9th byte of the Extended Capability as a byte
Some of the bits were parsed as a bit of a WORD, and others as a bit of BYTE leading to a bug in the display. Bug: 15133 Change-Id: Ie6877c4a4a79fcc802afec49436370cf22a6bfae Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Reviewed-on: https://code.wireshark.org/review/29633 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-ieee80211.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c
index 55dd02969a..82bc8bd273 100644
--- a/epan/dissectors/packet-ieee80211.c
+++ b/epan/dissectors/packet-ieee80211.c
@@ -31771,17 +31771,17 @@ proto_register_ieee80211(void)
{&hf_ieee80211_tag_extended_capabilities_b77,
{"TWT Requester Support", "wlan.extcap.b77",
- FT_BOOLEAN, 16, NULL, 0x20,
+ FT_BOOLEAN, 8, NULL, 0x20,
NULL, HFILL }},
{&hf_ieee80211_tag_extended_capabilities_b78,
{"TWT Responder Support", "wlan.extcap.b78",
- FT_BOOLEAN, 16, NULL, 0x40,
+ FT_BOOLEAN, 8, NULL, 0x40,
NULL, HFILL }},
{&hf_ieee80211_tag_extended_capabilities_b79,
{"OBSS Narrow Bandwidth RU in UL OFDMA Tolerance Support", "wlan.extcap.b79",
- FT_BOOLEAN, 16, NULL, 0x80,
+ FT_BOOLEAN, 8, NULL, 0x80,
NULL, HFILL }},