svn commit: r195561 - head/sys/net80211
Sam Leffler
sam at FreeBSD.org
Fri Jul 10 15:26:34 UTC 2009
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
More information about the svn-src-head
mailing list