Do not use SA Query procedure if reassociation is part of FT
This commit is contained in:
parent
ff89afb77b
commit
8f4617c6c4
1 changed files with 2 additions and 1 deletions
|
@ -904,7 +904,8 @@ static void handle_assoc(struct hostapd_data *hapd,
|
||||||
if ((sta->flags & WLAN_STA_MFP) && !sta->sa_query_timed_out &&
|
if ((sta->flags & WLAN_STA_MFP) && !sta->sa_query_timed_out &&
|
||||||
sta->sa_query_count > 0)
|
sta->sa_query_count > 0)
|
||||||
ap_check_sa_query_timeout(hapd, sta);
|
ap_check_sa_query_timeout(hapd, sta);
|
||||||
if ((sta->flags & WLAN_STA_MFP) && !sta->sa_query_timed_out) {
|
if ((sta->flags & WLAN_STA_MFP) && !sta->sa_query_timed_out &&
|
||||||
|
(!reassoc || sta->auth_alg != WLAN_AUTH_FT)) {
|
||||||
/*
|
/*
|
||||||
* STA has already been associated with MFP and SA
|
* STA has already been associated with MFP and SA
|
||||||
* Query timeout has not been reached. Reject the
|
* Query timeout has not been reached. Reject the
|
||||||
|
|
Loading…
Reference in a new issue