forked from osmocom/wireshark
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
This commit is contained in:
parent
8d02cc0d00
commit
269c4fd8c2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue