aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-03-27 21:07:45 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-03-27 21:07:45 +0000
commit269c4fd8c28a3b513e4017b4e8e3ac7eb2bc7b70 (patch)
treecf9f6b4e3de40d73411dce8b08628e27f60c355c
parent8d02cc0d001171861a9ec2fc290c06fae1cc9a3e (diff)
From Johannes Berg via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8534 802.11: doesn't parse extended channel switch announcement frames correctly
There are more fixed fields in extended channel switch announcement frames. svn path=/trunk/; revision=48599
-rw-r--r--epan/dissectors/packet-ieee80211.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c
index 7f132513c2..ba0e84a7c1 100644
--- a/epan/dissectors/packet-ieee80211.c
+++ b/epan/dissectors/packet-ieee80211.c
@@ -6315,6 +6315,9 @@ add_ff_action_public(proto_tree *tree, tvbuff_t *tvb, int offset)
offset += add_fixed_field(tree, tvb, offset, FIELD_PA_ACTION_CODE);
switch (code) {
+ case PA_EXT_CHANNEL_SWITCH_ANNOUNCEMENT:
+ offset += add_ff_extended_channel_switch_announcement(tree, tvb, offset);
+ break;
case PA_VENDOR_SPECIFIC:
oui = tvb_get_ntoh24(tvb, offset);
proto_tree_add_item(tree, hf_ieee80211_tag_oui, tvb, offset, 3, ENC_NA);