aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-12-11 13:40:07 (GMT)
committerJouni Malinen <j@w1.fi>2014-12-11 13:40:07 (GMT)
commit2961bfa8e1609fba4d4eb8ae4b75aa7e0ebea450 (patch)
tree63955158d1cafc2fda4a74f7af7e5507b51134bf /wpa_supplicant/driver_i.h
parent5e80b502ee1c60846e5e61f6602665251d391dda (diff)
downloadhostap-2961bfa8e1609fba4d4eb8ae4b75aa7e0ebea450.zip
hostap-2961bfa8e1609fba4d4eb8ae4b75aa7e0ebea450.tar.gz
hostap-2961bfa8e1609fba4d4eb8ae4b75aa7e0ebea450.tar.bz2
Remove unused send_eapol() driver op
The send_eapol() callback was used by driver_test.c, but with that removed, there is no remaining users of the alternative EAPOL frame transmitting mechanism in wpa_supplicant, i.e., all remaining driver interfaces use l2_packet instead. Remove the send_eapol() to get rid of unused code. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index ae50835..a92c5f7 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -244,16 +244,6 @@ static inline const u8 * wpa_drv_get_mac_addr(struct wpa_supplicant *wpa_s)
return NULL;
}
-static inline int wpa_drv_send_eapol(struct wpa_supplicant *wpa_s,
- const u8 *dst, u16 proto,
- const u8 *data, size_t data_len)
-{
- if (wpa_s->driver->send_eapol)
- return wpa_s->driver->send_eapol(wpa_s->drv_priv, dst, proto,
- data, data_len);
- return -1;
-}
-
static inline int wpa_drv_set_operstate(struct wpa_supplicant *wpa_s,
int state)
{