From 4331263b7395ea2286b740dd89a17f8240e171f6 Mon Sep 17 00:00:00 2001 From: Kyeyoon Park Date: Tue, 18 Jun 2013 17:40:51 +0300 Subject: [PATCH] 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 --- src/ap/drv_callbacks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ap/drv_callbacks.c b/src/ap/drv_callbacks.c index 07fd11db5..fa4b5e4ba 100644 --- a/src/ap/drv_callbacks.c +++ b/src/ap/drv_callbacks.c @@ -85,6 +85,7 @@ int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr, sta = ap_get_sta(hapd, addr); if (sta) { + ap_sta_no_session_timeout(hapd, sta); accounting_sta_stop(hapd, sta); /*