Author: sam
Date: Fri Jul 10 15:26:33 2009
New Revision: 195561
URL: http://svn.freebsd.org/changeset/base/195561

Log:
  mark struct ieee80211req_maclist packed so sizeof works as intended on arm;
  fixes "list mac"
  
  Approved by:  re (kensmith)

Modified:
  head/sys/net80211/ieee80211_ioctl.h

Modified: head/sys/net80211/ieee80211_ioctl.h
==============================================================================
--- head/sys/net80211/ieee80211_ioctl.h Fri Jul 10 14:15:53 2009        
(r195560)
+++ head/sys/net80211/ieee80211_ioctl.h Fri Jul 10 15:26:33 2009        
(r195561)
@@ -302,7 +302,7 @@ enum {
 
 struct ieee80211req_maclist {
        uint8_t         ml_macaddr[IEEE80211_ADDR_LEN];
-};
+} __packed;
 
 /*
  * Set the active channel list by IEEE channel #: each channel
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to