From c97912959913f9a96028cb8e7901844b29586dce Mon Sep 17 00:00:00 2001 From: bschmidt Date: Sat, 18 Dec 2010 20:25:25 +0000 Subject: Change order in wpa_driver_bsd_ops to match upstream code. Add description while here. --- usr.sbin/wpa/hostapd/driver_freebsd.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'usr.sbin/wpa') diff --git a/usr.sbin/wpa/hostapd/driver_freebsd.c b/usr.sbin/wpa/hostapd/driver_freebsd.c index 48b942d..00c293b 100644 --- a/usr.sbin/wpa/hostapd/driver_freebsd.c +++ b/usr.sbin/wpa/hostapd/driver_freebsd.c @@ -789,23 +789,24 @@ bsd_deinit(void *priv) const struct wpa_driver_ops wpa_driver_bsd_ops = { .name = "bsd", + .desc = "BSD 802.11 support", .hapd_init = bsd_init, .hapd_deinit = bsd_deinit, - .set_ieee8021x = bsd_set_ieee8021x, .set_privacy = bsd_set_privacy, - .set_key = bsd_set_key, .get_seqnum = bsd_get_seqnum, .flush = bsd_flush, - .set_generic_elem = bsd_set_opt_ie, - .sta_set_flags = bsd_set_sta_authorized, .read_sta_data = bsd_read_sta_driver_data, - .hapd_send_eapol = bsd_send_eapol, + .sta_clear_stats = bsd_sta_clear_stats, .sta_disassoc = bsd_sta_disassoc, .sta_deauth = bsd_sta_deauth, + .set_key = bsd_set_key, + .set_ieee8021x = bsd_set_ieee8021x, .hapd_set_ssid = bsd_set_ssid, .hapd_get_ssid = bsd_get_ssid, + .hapd_send_eapol = bsd_send_eapol, + .sta_set_flags = bsd_set_sta_authorized, + .set_generic_elem = bsd_set_opt_ie, .set_countermeasures = bsd_set_countermeasures, - .sta_clear_stats = bsd_sta_clear_stats, .commit = bsd_commit, #ifdef CONFIG_DRIVER_RADIUS_ACL_NOT_YET .set_radius_acl_auth = bsd_set_radius_acl_auth, -- cgit v1.1