aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-02-26 05:42:55 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-02-26 05:42:55 +0000
commit6895406b1146fb045cc0bce9b0fc1170eb53d325 (patch)
tree145b0bbe2451a636b9a6c9b148de956a0837735e /epan
parentb47e7619e63cf96cf8537f292cdae68161c461c6 (diff)
From Didier Gautheron:
ECWmin and ECWmax in the Beacon WME Information Element are not displayed correctly. They appear as equal each to the other. It should be: byte2 & 0x0f, (byte2 & 0xf0) >> 4. svn path=/trunk/; revision=27550
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-ieee80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c
index 090b77e620..2ac1ad36f7 100644
--- a/epan/dissectors/packet-ieee80211.c
+++ b/epan/dissectors/packet-ieee80211.c
@@ -3321,7 +3321,7 @@ dissect_vendor_ie_wpawme(proto_item * item, proto_tree * tree, tvbuff_t * tag_tv
"WME AC Parameters: ACI %u (%s), Admission Control %sMandatory, AIFSN %u, ECWmin %u, ECWmax %u, TXOP %u",
(byte1 & 0x60) >> 5, wme_acs[(byte1 & 0x60) >> 5],
(byte1 & 0x10) ? "" : "not ", byte1 & 0x0f,
- byte2 & 0x0f, byte2 & 0xf0 >> 4,
+ byte2 & 0x0f, (byte2 & 0xf0) >> 4,
tvb_get_letohs(tag_tvb, tag_off + 2));
proto_tree_add_string(tree, tag_interpretation, tag_tvb, tag_off, 4,
out_buff);