aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r--net/mac80211/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 558412d75ac3..3dca9827624a 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1775,8 +1775,8 @@ u8 *ieee80211_ie_build_vht_cap(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap,
1775 __le32 tmp; 1775 __le32 tmp;
1776 1776
1777 *pos++ = WLAN_EID_VHT_CAPABILITY; 1777 *pos++ = WLAN_EID_VHT_CAPABILITY;
1778 *pos++ = sizeof(struct ieee80211_vht_capabilities); 1778 *pos++ = sizeof(struct ieee80211_vht_cap);
1779 memset(pos, 0, sizeof(struct ieee80211_vht_capabilities)); 1779 memset(pos, 0, sizeof(struct ieee80211_vht_cap));
1780 1780
1781 /* capability flags */ 1781 /* capability flags */
1782 tmp = cpu_to_le32(cap); 1782 tmp = cpu_to_le32(cap);