diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/ibss.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index 6db09fa18269..364d4e137649 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c | |||
@@ -66,6 +66,8 @@ ieee80211_ibss_build_presp(struct ieee80211_sub_if_data *sdata, | |||
66 | 2 + (IEEE80211_MAX_SUPP_RATES - 8) + | 66 | 2 + (IEEE80211_MAX_SUPP_RATES - 8) + |
67 | 2 + sizeof(struct ieee80211_ht_cap) + | 67 | 2 + sizeof(struct ieee80211_ht_cap) + |
68 | 2 + sizeof(struct ieee80211_ht_operation) + | 68 | 2 + sizeof(struct ieee80211_ht_operation) + |
69 | 2 + sizeof(struct ieee80211_vht_cap) + | ||
70 | 2 + sizeof(struct ieee80211_vht_operation) + | ||
69 | ifibss->ie_len; | 71 | ifibss->ie_len; |
70 | presp = kzalloc(sizeof(*presp) + frame_len, GFP_KERNEL); | 72 | presp = kzalloc(sizeof(*presp) + frame_len, GFP_KERNEL); |
71 | if (!presp) | 73 | if (!presp) |