HS 2.0R2: Check for OSEN when determining whether to authorize STA
handle_assoc_cb() got this addition, but the check in hostapd_new_assoc_sta() was not modified to be aware of the OSEN special case for EAPOL state machines to be used for marking a STA authorized. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
113318ad57
commit
95faa36ad9
1 changed files with 1 additions and 1 deletions
|
@ -2026,7 +2026,7 @@ void hostapd_new_assoc_sta(struct hostapd_data *hapd, struct sta_info *sta,
|
||||||
/* Start accounting here, if IEEE 802.1X and WPA are not used.
|
/* Start accounting here, if IEEE 802.1X and WPA are not used.
|
||||||
* IEEE 802.1X/WPA code will start accounting after the station has
|
* IEEE 802.1X/WPA code will start accounting after the station has
|
||||||
* been authorized. */
|
* been authorized. */
|
||||||
if (!hapd->conf->ieee802_1x && !hapd->conf->wpa) {
|
if (!hapd->conf->ieee802_1x && !hapd->conf->wpa && !hapd->conf->osen) {
|
||||||
ap_sta_set_authorized(hapd, sta, 1);
|
ap_sta_set_authorized(hapd, sta, 1);
|
||||||
os_get_reltime(&sta->connected_time);
|
os_get_reltime(&sta->connected_time);
|
||||||
accounting_sta_start(hapd, sta);
|
accounting_sta_start(hapd, sta);
|
||||||
|
|
Loading…
Reference in a new issue