aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpas_glue.c
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/wpas_glue.c
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/wpas_glue.c')
-rw-r--r--wpa_supplicant/wpas_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wpas_glue.c b/wpa_supplicant/wpas_glue.c
index 3bf5135..70ece22 100644
--- a/wpa_supplicant/wpas_glue.c
+++ b/wpa_supplicant/wpas_glue.c
@@ -115,7 +115,7 @@ static int wpa_ether_send(struct wpa_supplicant *wpa_s, const u8 *dest,
return l2_packet_send(wpa_s->l2, dest, proto, buf, len);
}
- return wpa_drv_send_eapol(wpa_s, dest, proto, buf, len);
+ return -1;
}
#endif /* IEEE8021X_EAPOL || !CONFIG_NO_WPA */