IEEE80211: Fix the lengths of a couple of items

Found by running ./tools/check_typed_item_calls.py

epan/dissectors/packet-ieee80211.c:14209 proto_tree_add_item called for hf_ieee80211_osen_akm_count  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-ieee80211.c:20025 proto_tree_add_item called for hf_ieee80211_tclas_ether_type  -  item type is FT_UINT8 but call has len  2
This commit is contained in:
Martin Mathieson 2020-10-18 20:20:25 +01:00 committed by Wireshark GitLab Utility
parent d0fe9cae70
commit 723d0fab8f
1 changed files with 2 additions and 2 deletions

View File

@ -32370,7 +32370,7 @@ proto_register_ieee80211(void)
{&hf_ieee80211_tclas_ether_type,
{"Ethernet Type", "wlan.tclas.ether_type",
FT_UINT8, BASE_DEC, NULL, 0,
FT_UINT16, BASE_DEC, NULL, 0,
NULL, HFILL }},
{&hf_ieee80211_tclas_version,
@ -37301,7 +37301,7 @@ proto_register_ieee80211(void)
{&hf_ieee80211_osen_akm_count,
{"OSEN AKM Cipher Suite Count", "wlan.osen.akms.count",
FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
{&hf_ieee80211_osen_akm_cipher_suite_oui,
{"OSEN AKM Cipher Suite OUI", "wlan.osen.akms.oui",