diff options
author | Chien Wong <m@xv97.com> | 2022-12-07 21:43:51 +0800 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2022-12-09 06:37:51 +0000 |
commit | 82a0a5215d3f6dde19ce58c6dc258e5cc539f9f6 (patch) | |
tree | 7cb93922d67c177f9ac3f6a46c754cbbc2ae1247 /epan/dissectors/packet-ieee80211.c | |
parent | c19f31247fef67b54ce15c81391d1f54175a6f87 (diff) |
ieee80211: Fix SAE Confirm dissecting
IEEE 802.11-2020, Section 12.4.7.6 says that an SAE Confirm message,
with a status code not equal to SUCCESS, shall indicate that a peer
rejects a previously sent SAE Confirm message. In this case, the Confirm
message may not carry a Send-Confirm field or a Confirm field, as
hostapd does. So we simply ignore possible fields following Status code.
Signed-off-by: Chien Wong <m@xv97.com>
Diffstat (limited to 'epan/dissectors/packet-ieee80211.c')
-rw-r--r-- | epan/dissectors/packet-ieee80211.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c index 722e98aa86..0483d2b7f2 100644 --- a/epan/dissectors/packet-ieee80211.c +++ b/epan/dissectors/packet-ieee80211.c @@ -12834,8 +12834,7 @@ add_ff_auth_sae(proto_tree *tree, tvbuff_t *tvb, } } } - /* 82: Rejected with Suggested BSS Transition (cf ieee80211_status_code) */ - else if ((seq == 2) && (status_code != 82)) + else if ((seq == 2) && (status_code == 0)) { proto_tree_add_item(tree, hf_ieee80211_ff_send_confirm, tvb, 6, 2, ENC_LITTLE_ENDIAN); |