Skip to content

Commit

Permalink
mac80211: add explicit padding in struct ieee80211_tx_info
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John W. Linville committed Nov 21, 2008
1 parent beb2a7f commit 6272710
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/net/mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ struct ieee80211_tx_info {
u8 antenna_sel_tx;

/* 2 byte hole */
u8 pad[2];

union {
struct {
Expand Down

0 comments on commit 6272710

Please sign in to comment.