forked from osmocom/wireshark
Remove expert_info for unknown/undecode Atheros frame...
svn path=/trunk/; revision=48054
This commit is contained in:
parent
e16ea8d71e
commit
559aa015d6
|
@ -7561,7 +7561,6 @@ dissect_vendor_ie_atheros(proto_item *item _U_, proto_tree *ietree,
|
||||||
guint8 subtype;
|
guint8 subtype;
|
||||||
guint8 version;
|
guint8 version;
|
||||||
proto_item *cap_item;
|
proto_item *cap_item;
|
||||||
proto_item *ti;
|
|
||||||
|
|
||||||
if (tag_len <= 3) {
|
if (tag_len <= 3) {
|
||||||
expert_add_info_format(pinfo, ti_len, PI_MALFORMED, PI_ERROR, "Tag length %u too short, must be >= 6", tag_len+3); /* Add length of OUI to tag_length */
|
expert_add_info_format(pinfo, ti_len, PI_MALFORMED, PI_ERROR, "Tag length %u too short, must be >= 6", tag_len+3); /* Add length of OUI to tag_length */
|
||||||
|
@ -7652,8 +7651,7 @@ dissect_vendor_ie_atheros(proto_item *item _U_, proto_tree *ietree,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (tag_len > 0) {
|
if (tag_len > 0) {
|
||||||
ti = proto_tree_add_item(ietree, hf_ieee80211_atheros_ie_data, tvb, offset, tag_len, ENC_NA);
|
proto_tree_add_item(ietree, hf_ieee80211_atheros_ie_data, tvb, offset, tag_len, ENC_NA);
|
||||||
expert_add_info_format(pinfo, ti, PI_UNDECODED, PI_WARN, "Unknown Data (not interpreted)");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue