mac80211: add explicit padding in struct ieee80211_tx_info
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Nov 2008 15:01:41 +0000 (10:01 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 21 Nov 2008 16:08:18 +0000 (11:08 -0500)
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>
include/net/mac80211.h

index 0dbbfc7..6a1d4ea 100644 (file)
@@ -341,6 +341,7 @@ struct ieee80211_tx_info {
        u8 antenna_sel_tx;
 
        /* 2 byte hole */
+       u8 pad[2];
 
        union {
                struct {