svn commit: r195563 - projects/mesh11s/sys/net80211
Sam Leffler
sam at FreeBSD.org
Fri Jul 10 16:01:22 UTC 2009
Author: sam
Date: Fri Jul 10 16:01:21 2009
New Revision: 195563
URL: http://svn.freebsd.org/changeset/base/195563
Log:
shuffle members so no padding is needed; the variable-length data
that follows has no alignment assumptions
Modified:
projects/mesh11s/sys/net80211/ieee80211_ioctl.h
Modified: projects/mesh11s/sys/net80211/ieee80211_ioctl.h
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_ioctl.h Fri Jul 10 15:28:33 2009 (r195562)
+++ projects/mesh11s/sys/net80211/ieee80211_ioctl.h Fri Jul 10 16:01:21 2009 (r195563)
@@ -417,11 +417,10 @@ struct ieee80211req_sta_info {
uint16_t isi_pad;
uint32_t isi_jointime; /* time of assoc/join */
struct ieee80211_mimo_info isi_mimo; /* MIMO info for 11n sta's */
- uint8_t _pad[3];
/* 11s info */
- uint8_t isi_peerstate;
uint16_t isi_peerid;
uint16_t isi_localid;
+ uint8_t isi_peerstate;
/* XXX frag state? */
/* variable length IE data */
};
More information about the svn-src-projects
mailing list