From 269c4fd8c28a3b513e4017b4e8e3ac7eb2bc7b70 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 27 Mar 2013 21:07:45 +0000 Subject: [PATCH] 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 --- epan/dissectors/packet-ieee80211.c | 3 +++ 1 file changed, 3 insertions(+) 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);