aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/ieee802_11.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-01-09 17:00:29 +0200
committerJouni Malinen <j@w1.fi>2009-01-09 17:00:29 +0200
commit3313cea0d631db3a93269fba4d745d7befa6127c (patch)
tree16c6af1b2d20b11918154c4ab393be4af7cf6737 /hostapd/ieee802_11.h
parent649d8890b17a75a789fa123fcfb11c8510f96926 (diff)
downloadexternal_wpa_supplicant_8_ti-3313cea0d631db3a93269fba4d745d7befa6127c.zip
external_wpa_supplicant_8_ti-3313cea0d631db3a93269fba4d745d7befa6127c.tar.gz
external_wpa_supplicant_8_ti-3313cea0d631db3a93269fba4d745d7befa6127c.tar.bz2
Fixed TKIP countermeasueres for drivers that do not use hostapd MLME
The Michael MIC reporting functions have to be included even when using driver MLME.
Diffstat (limited to 'hostapd/ieee802_11.h')
-rw-r--r--hostapd/ieee802_11.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/hostapd/ieee802_11.h b/hostapd/ieee802_11.h
index ff67861..c6b7ccb 100644
--- a/hostapd/ieee802_11.h
+++ b/hostapd/ieee802_11.h
@@ -31,17 +31,10 @@ void ieee802_11_mgmt_cb(struct hostapd_data *hapd, u8 *buf, size_t len,
u16 stype, int ok);
void ieee802_11_print_ssid(char *buf, const u8 *ssid, u8 len);
#ifdef NEED_MLME
-void ieee80211_michael_mic_failure(struct hostapd_data *hapd, const u8 *addr,
- int local);
int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen);
int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
char *buf, size_t buflen);
#else /* NEED_MLME */
-static inline void ieee80211_michael_mic_failure(struct hostapd_data *hapd,
- const u8 *addr, int local)
-{
-}
-
static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf,
size_t buflen)
{