diff options
author | John W. Linville <linville@tuxdriver.com> | 2008-11-12 10:01:41 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-21 11:08:18 -0500 |
commit | 627271018df75c8861b9e75b39d5995842e6ec95 (patch) | |
tree | 9f77eecc9fa2093f0b114f00ee6356c1ececdb47 /include/net | |
parent | beb2a7f331361bfe81e71acdb0739eae570475a2 (diff) |
mac80211: add explicit padding in struct ieee80211_tx_info
Otherwise, the BUILD_BUG_ON calls in ieee80211_tx_info_clear_status can
fail on some architectures.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 0dbbfc7b050..6a1d4ea1818 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -341,6 +341,7 @@ struct ieee80211_tx_info { | |||
341 | u8 antenna_sel_tx; | 341 | u8 antenna_sel_tx; |
342 | 342 | ||
343 | /* 2 byte hole */ | 343 | /* 2 byte hole */ |
344 | u8 pad[2]; | ||
344 | 345 | ||
345 | union { | 346 | union { |
346 | struct { | 347 | struct { |