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>
This commit is contained in:
John W. Linville 2008-11-12 10:01:41 -05:00
parent beb2a7f331
commit 627271018d

View file

@ -341,6 +341,7 @@ struct ieee80211_tx_info {
u8 antenna_sel_tx; u8 antenna_sel_tx;
/* 2 byte hole */ /* 2 byte hole */
u8 pad[2];
union { union {
struct { struct {