diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 473b755b349f..620f427069c8 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -876,7 +876,7 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) | |||
876 | 876 | ||
877 | if (supp_vht) | 877 | if (supp_vht) |
878 | local->scan_ies_len += | 878 | local->scan_ies_len += |
879 | 2 + sizeof(struct ieee80211_vht_capabilities); | 879 | 2 + sizeof(struct ieee80211_vht_cap); |
880 | 880 | ||
881 | if (!local->ops->hw_scan) { | 881 | if (!local->ops->hw_scan) { |
882 | /* For hw_scan, driver needs to set these up. */ | 882 | /* For hw_scan, driver needs to set these up. */ |