summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wpa
diff options
context:
space:
mode:
authorbschmidt <bschmidt@FreeBSD.org>2010-12-18 20:25:25 +0000
committerbschmidt <bschmidt@FreeBSD.org>2010-12-18 20:25:25 +0000
commitc97912959913f9a96028cb8e7901844b29586dce (patch)
tree59dd4c910abe88fe966b940da64fef497f8f2bdd /usr.sbin/wpa
parent7f5fd9f20e1133d0965102412601a41505cdf628 (diff)
downloadFreeBSD-src-c97912959913f9a96028cb8e7901844b29586dce.zip
FreeBSD-src-c97912959913f9a96028cb8e7901844b29586dce.tar.gz
Change order in wpa_driver_bsd_ops to match upstream code. Add description
while here.
Diffstat (limited to 'usr.sbin/wpa')
-rw-r--r--usr.sbin/wpa/hostapd/driver_freebsd.c13
1 files changed, 7 insertions, 6 deletions
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,
OpenPOWER on IntegriCloud