From 669ed2c85224d24d06449f40cca2a9c00d949217 Mon Sep 17 00:00:00 2001 From: Moritz Rosenthal Date: Mon, 7 Nov 2016 15:26:59 +0100 Subject: [PATCH] wifi_station_clean is called too early wifi_station_clean is called in wifi_station_delete and therefor bypasses the WIFI_STATION_TIMEOUT_ACTION_DELETE. That risults in loss of the wifi deauthentication frame that should be sent before a wifi station is deleted on AP. --- src/binding/ieee80211/wifi_drivers.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/binding/ieee80211/wifi_drivers.c b/src/binding/ieee80211/wifi_drivers.c index d129e0c..2652c22 100644 --- a/src/binding/ieee80211/wifi_drivers.c +++ b/src/binding/ieee80211/wifi_drivers.c @@ -395,9 +395,6 @@ static void wifi_station_delete(struct wifi_station* station) /* */ log_printf(LOG_INFO, "Delete station: " MACSTR, MAC2STR(station->address)); - /* */ - wifi_station_clean(station); - /* Delay delete station */ station->timeout_action = WIFI_STATION_TIMEOUT_ACTION_DELETE; station->timeout.repeat = WIFI_STATION_TIMEOUT_AFTER_DEAUTHENTICATED / 1000.0;