Update to 2.6.32.41 Mainline
/net/mac80211/main.c
blob:19fbd25a705b22d3d220bc8f7ea6266a20564c68 -> blob:2dfe1768e2ab1cbb4fd5997e359c27626c5f8e2a
--- net/mac80211/main.c
+++ net/mac80211/main.c
@@ -859,6 +859,8 @@ int ieee80211_register_hw(struct ieee802
* 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));