|
@@ -1,6 +1,6 @@
|
|
/*
|
|
/*
|
|
* hostapd / TKIP countermeasures
|
|
* hostapd / TKIP countermeasures
|
|
- * Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
+ * Copyright (c) 2002-2011, Jouni Malinen <j@w1.fi>
|
|
*
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
@@ -60,6 +60,12 @@ static void ieee80211_tkip_countermeasures_start(struct hostapd_data *hapd)
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+void ieee80211_tkip_countermeasures_deinit(struct hostapd_data *hapd)
|
|
|
|
+{
|
|
|
|
+ eloop_cancel_timeout(ieee80211_tkip_countermeasures_stop, hapd, NULL);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
void michael_mic_failure(struct hostapd_data *hapd, const u8 *addr, int local)
|
|
void michael_mic_failure(struct hostapd_data *hapd, const u8 *addr, int local)
|
|
{
|
|
{
|
|
struct os_time now;
|
|
struct os_time now;
|