|
@@ -515,6 +515,8 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
|
|
* and we need some headroom for passing the frame to monitor
|
|
* and we need some headroom for passing the frame to monitor
|
|
* interfaces, but never both at the same time.
|
|
* 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,
|
|
local->tx_headroom = max_t(unsigned int , local->hw.extra_tx_headroom,
|
|
sizeof(struct ieee80211_tx_status_rtap_hdr));
|
|
sizeof(struct ieee80211_tx_status_rtap_hdr));
|
|
|
|
|