diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index d35023ce7fa1..5fcd3548417e 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -359,9 +359,7 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len, | |||
359 | WIPHY_FLAG_4ADDR_STATION; | 359 | WIPHY_FLAG_4ADDR_STATION; |
360 | wiphy->privid = mac80211_wiphy_privid; | 360 | wiphy->privid = mac80211_wiphy_privid; |
361 | 361 | ||
362 | /* Yes, putting cfg80211_bss into ieee80211_bss is a hack */ | 362 | wiphy->bss_priv_size = sizeof(struct ieee80211_bss); |
363 | wiphy->bss_priv_size = sizeof(struct ieee80211_bss) - | ||
364 | sizeof(struct cfg80211_bss); | ||
365 | 363 | ||
366 | local = wiphy_priv(wiphy); | 364 | local = wiphy_priv(wiphy); |
367 | 365 | ||