This commit extends
ccba6921de63 ("SAE: Recognize Basic MLE in
Authentication frames even without H2E") to cover external auth case.
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
}
token_len = elen - 1;
#ifdef CONFIG_IEEE80211BE
- } else if (wpa_s->valid_links && token_len > 12 &&
+ } else if ((wpa_s->valid_links ||
+ (external && wpa_s->sme.ext_ml_auth)) &&
+ token_len > 12 &&
token_pos[token_len - 12] == WLAN_EID_EXTENSION &&
token_pos[token_len - 11] == 10 &&
token_pos[token_len - 10] ==