diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index ef97d6d3bdcd..e9b6a0415d6a 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -5724,7 +5724,8 @@ __ieee80211_beacon_get_ap(struct ieee80211_hw *hw, skb = dev_alloc_skb(local->tx_headroom + beacon->head_len + beacon->tail_len + 256 + - local->hw.extra_beacon_tailroom + mbssid_len); + local->hw.extra_beacon_tailroom + mbssid_len + + IEEE80211_ENCRYPT_TAILROOM); if (!skb) return NULL;