FILS: Mark connection fully authorized after FILS Association (AP)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
706df4291b
commit
07e0117d21
3 changed files with 20 additions and 3 deletions
|
@ -3203,11 +3203,15 @@ static void handle_assoc_cb(struct hostapd_data *hapd,
|
|||
new_assoc = 0;
|
||||
sta->flags |= WLAN_STA_ASSOC;
|
||||
sta->flags &= ~WLAN_STA_WNM_SLEEP_MODE;
|
||||
if ((!hapd->conf->ieee802_1x && !hapd->conf->wpa && !hapd->conf->osen) ||
|
||||
if ((!hapd->conf->ieee802_1x && !hapd->conf->wpa &&
|
||||
!hapd->conf->osen) ||
|
||||
sta->auth_alg == WLAN_AUTH_FILS_SK ||
|
||||
sta->auth_alg == WLAN_AUTH_FILS_SK_PFS ||
|
||||
sta->auth_alg == WLAN_AUTH_FILS_PK ||
|
||||
sta->auth_alg == WLAN_AUTH_FT) {
|
||||
/*
|
||||
* Open, static WEP, or FT protocol; no separate authorization
|
||||
* step.
|
||||
* Open, static WEP, FT protocol, or FILS; no separate
|
||||
* authorization step.
|
||||
*/
|
||||
ap_sta_set_authorized(hapd, sta, 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue