diff options
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 157bde993ef..f4b1b624ea9 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -2290,7 +2290,8 @@ struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw, | |||
2290 | u8 *pos; | 2290 | u8 *pos; |
2291 | 2291 | ||
2292 | /* headroom, head length, tail length and maximum TIM length */ | 2292 | /* headroom, head length, tail length and maximum TIM length */ |
2293 | skb = dev_alloc_skb(local->tx_headroom + 400); | 2293 | skb = dev_alloc_skb(local->tx_headroom + 400 + |
2294 | sdata->u.mesh.vendor_ie_len); | ||
2294 | if (!skb) | 2295 | if (!skb) |
2295 | goto out; | 2296 | goto out; |
2296 | 2297 | ||