mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
mac80211: minstrel: merge with minstrel_ht, always enable VHT support
Legacy-only devices are not very common and the overhead of the extra code for HT and VHT rates is not big enough to justify all those extra lines of code to make it optional. Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
5b5e87314e
commit
b1c4f68337
10 changed files with 101 additions and 258 deletions
|
@ -1375,18 +1375,12 @@ static int __init ieee80211_init(void)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = rc80211_minstrel_ht_init();
|
||||
if (ret)
|
||||
goto err_minstrel;
|
||||
|
||||
ret = ieee80211_iface_init();
|
||||
if (ret)
|
||||
goto err_netdev;
|
||||
|
||||
return 0;
|
||||
err_netdev:
|
||||
rc80211_minstrel_ht_exit();
|
||||
err_minstrel:
|
||||
rc80211_minstrel_exit();
|
||||
|
||||
return ret;
|
||||
|
@ -1394,7 +1388,6 @@ static int __init ieee80211_init(void)
|
|||
|
||||
static void __exit ieee80211_exit(void)
|
||||
{
|
||||
rc80211_minstrel_ht_exit();
|
||||
rc80211_minstrel_exit();
|
||||
|
||||
ieee80211s_stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue