FT: Clear SME FT data on disassoc
SME ft_used flag is sometimes not cleared on disassoc. For example, after initial FT connection, ft_used is set while ft_ies stays NULL. Later on, upon disassoc, sme_update_ft_ies() is not invoked and ft_used is not cleared. Fix this by invoking sme_update_ft_ies() also in case ft_used is set. This is needed to fix an issue with drivers that use nl80211 Connect API with FT and expect to the NL80211_AUTHTYPE_OPEN specified in the Connect command for the initial mobility domain association. Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
This commit is contained in:
parent
98b806b03d
commit
60a5737e8f
1 changed files with 1 additions and 1 deletions
|
@ -1729,7 +1729,7 @@ void sme_clear_on_disassoc(struct wpa_supplicant *wpa_s)
|
|||
sae_clear_data(&wpa_s->sme.sae);
|
||||
#endif /* CONFIG_SAE */
|
||||
#ifdef CONFIG_IEEE80211R
|
||||
if (wpa_s->sme.ft_ies)
|
||||
if (wpa_s->sme.ft_ies || wpa_s->sme.ft_used)
|
||||
sme_update_ft_ies(wpa_s, NULL, NULL, 0);
|
||||
#endif /* CONFIG_IEEE80211R */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue