Message ID | 1474750454-6626-29-git-send-email-michael-dev@fami-braun.de |
---|---|
State | Deferred |
Headers | show |
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)
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@fami-braun.de> --- src/ap/ieee802_11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)