Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2009 15:26:34 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r195561 - head/sys/net80211
Message-ID:  <200907101526.n6AFQYUN023991@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907101526.n6AFQYUN023991>