diff options
author | Jouni Malinen <j@w1.fi> | 2014-12-11 13:40:07 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2014-12-11 13:40:07 (GMT) |
commit | 2961bfa8e1609fba4d4eb8ae4b75aa7e0ebea450 (patch) | |
tree | 63955158d1cafc2fda4a74f7af7e5507b51134bf /wpa_supplicant/ibss_rsn.c | |
parent | 5e80b502ee1c60846e5e61f6602665251d391dda (diff) | |
download | hostap-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/ibss_rsn.c')
-rw-r--r-- | wpa_supplicant/ibss_rsn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/ibss_rsn.c b/wpa_supplicant/ibss_rsn.c index 0e487d2..d0ae135 100644 --- a/wpa_supplicant/ibss_rsn.c +++ b/wpa_supplicant/ibss_rsn.c @@ -72,7 +72,7 @@ static int supp_ether_send(void *ctx, const u8 *dest, u16 proto, const u8 *buf, if (wpa_s->l2) return l2_packet_send(wpa_s->l2, dest, proto, buf, len); - return wpa_drv_send_eapol(wpa_s, dest, proto, buf, len); + return -1; } @@ -283,7 +283,7 @@ static int auth_send_eapol(void *ctx, const u8 *addr, const u8 *data, return l2_packet_send(wpa_s->l2, addr, ETH_P_EAPOL, data, data_len); - return wpa_drv_send_eapol(wpa_s, addr, ETH_P_EAPOL, data, data_len); + return -1; } |