Fix session timeout after ANQP dummy STA entry with SME-in-driver
Upon association, disable the timer that removes the dummy STA. This timer caused the STA that associates within 5 seconds of doing an ANQP query to disassociate, thinking it's a dummy STA. Similar call was already there for the SME/MLME-in-hostapd case in handle_auth(), but the SME-in-driver case was not previously addressed. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
56cb4e1788
commit
4331263b73
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr,
|
||||||
|
|
||||||
sta = ap_get_sta(hapd, addr);
|
sta = ap_get_sta(hapd, addr);
|
||||||
if (sta) {
|
if (sta) {
|
||||||
|
ap_sta_no_session_timeout(hapd, sta);
|
||||||
accounting_sta_stop(hapd, sta);
|
accounting_sta_stop(hapd, sta);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue