[PATCH v2 28/33] FT: radius accounting after roaming
M. Braun
michael-dev at fami-braun.de
Sat Sep 24 14:08:12 PDT 2016
From: Michael Braun <michael-dev at fami-braun.de>
For FT stations, wpa_auth_sta_associated forces the station directly
into sm->wpa_ptk_state = WPA_PTK_PTKINITDONE. Therefore
WPA_EAPOL_authorized with authorized = 1 is not emitted by WPA state
machine and thus ieee802_1x_set_sta_authorized(..., 1) not called.
Thus accounting was not started.
Signed-off-by: Michael Braun <michael-dev at fami-braun.de>
---
src/ap/ieee802_11.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index 7da3784..1c871e3 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -2890,7 +2890,7 @@ static void handle_assoc_cb(struct hostapd_data *hapd,
* Open, static WEP, or FT protocol; no separate authorization
* step.
*/
- ap_sta_set_authorized(hapd, sta, 1);
+ ieee802_1x_set_sta_authorized(hapd, sta, 1);
}
if (reassoc)
--
2.1.4
More information about the Hostap
mailing list