Author: bschmidt
Date: Sat Dec 18 20:25:25 2010
New Revision: 216539
URL: http://svn.freebsd.org/changeset/base/216539

Log:
  Change order in wpa_driver_bsd_ops to match upstream code. Add description
  while here.

Modified:
  head/usr.sbin/wpa/hostapd/driver_freebsd.c

Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c
==============================================================================
--- head/usr.sbin/wpa/hostapd/driver_freebsd.c  Sat Dec 18 20:23:28 2010        
(r216538)
+++ head/usr.sbin/wpa/hostapd/driver_freebsd.c  Sat Dec 18 20:25:25 2010        
(r216539)
@@ -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,
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to