diff options
author | David S. Miller <davem@davemloft.net> | 2009-12-23 14:09:17 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-23 14:09:17 -0800 |
commit | b4de921ae6f7bb211868be4f7d56e80ac6da676c (patch) | |
tree | d0d740c43519d0e2b290f1499f82e2c03d6520a6 /net/mac80211/main.c | |
parent | 17a3be341e55b49e4579634281b86f1eb0bad8e8 (diff) | |
parent | ed4b2019a62e2208a8370461dd91ed4de2c9fc8f (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 8116d1a96a4..0d2d94881f1 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -515,6 +515,8 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) * and we need some headroom for passing the frame to monitor * interfaces, but never both at the same time. */ + BUILD_BUG_ON(IEEE80211_TX_STATUS_HEADROOM != + sizeof(struct ieee80211_tx_status_rtap_hdr)); local->tx_headroom = max_t(unsigned int , local->hw.extra_tx_headroom, sizeof(struct ieee80211_tx_status_rtap_hdr)); |