summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2010-06-30 08:48:42 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-06-30 15:00:53 -0400
commit92b50c4b5b01d0ba4efcff9e85f7a76b620fe789 (patch)
tree259ab6b0f2bb918f0ec004a4a1080ccf5719d102
parentf860d526eb2939a1c37128900b5af2b6f3ff7f20 (diff)
downloadlinux-92b50c4b5b01d0ba4efcff9e85f7a76b620fe789.tar.gz
linux-92b50c4b5b01d0ba4efcff9e85f7a76b620fe789.tar.bz2
linux-92b50c4b5b01d0ba4efcff9e85f7a76b620fe789.zip
mac82011: Allow selection of minstrel_ht as default rc algorithm
Allow selection of minstrel_ht as default rate control algorithm. At the moment minstrel_ht can only be requested by the driver code but not selected as default in make menuconfig. Fix this by using minstrel_ht when minstrel was selected as default and minstrel_ht is available. This change won't affect legacy devices as minstrel_ht falls back to minstrel in that case. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--net/mac80211/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig
index 83eec7a8bd1f..4d6f8653ec88 100644
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -69,6 +69,7 @@ endchoice
config MAC80211_RC_DEFAULT
string
+ default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL && MAC80211_RC_MINSTREL_HT
default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
default "pid" if MAC80211_RC_DEFAULT_PID
default ""