aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2023-03-06 09:20:44 +0100
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2023-03-06 08:59:15 +0000
commit7af40c9971b5c8fbb47decf155abfc4045b671de (patch)
tree207d0ec108a5fe8a1dbfe6da7ab898bb1bba1a03
parentd5a2f6fe2cec7e40818e79a15e418d45a5c3e5e7 (diff)
ieee80211: Save AKM_KEY for tag number 221
Tag number 221 (Microsoft WPA Information Element) contains an AKM type. Save this to fix wlan decryption when this tag is used by Access Point.
-rw-r--r--epan/dissectors/packet-ieee80211.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c
index 340a36ac6a..c119e3d492 100644
--- a/epan/dissectors/packet-ieee80211.c
+++ b/epan/dissectors/packet-ieee80211.c
@@ -16625,6 +16625,7 @@ dissect_vendor_ie_wpawme(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, in
{
proto_tree_add_item(wpa_sub_akms_tree, hf_ieee80211_wfa_ie_wpa_akms_wfa_type, tvb, offset+3, 1, ENC_LITTLE_ENDIAN);
proto_item_append_text(wpa_akms_item, " %s", wpa_akms_return(tvb_get_ntohl(tvb, offset)));
+ save_proto_data_value(pinfo, tvb_get_guint8(tvb, offset + 3), AKM_KEY);
} else {
proto_tree_add_item(wpa_sub_akms_tree, hf_ieee80211_wfa_ie_wpa_akms_type, tvb, offset+3, 1, ENC_LITTLE_ENDIAN);
}