dbus_new: Add EAP logon/logoff
Add "EAPLogoff" and "EAPLogon" interface DBus commands which parallel the "logoff" and "logon" wpa_ctrl commands which terminate and restart EAP authentication. Slightly enhance the "logon" case by expiring any running "startWhile" timer. Signed-hostap: Paul Stewart <pstew@chromium.org>
This commit is contained in:
parent
c2aff6b1d1
commit
754632c965
5 changed files with 63 additions and 1 deletions
|
@ -1533,6 +1533,10 @@ void eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff)
|
|||
{
|
||||
if (sm) {
|
||||
sm->userLogoff = logoff;
|
||||
if (!logoff) {
|
||||
/* If there is a delayed txStart queued, start now. */
|
||||
sm->startWhen = 0;
|
||||
}
|
||||
eapol_sm_step(sm);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue