From: Helmut Schaa Date: Wed, 30 Jun 2010 06:48:42 +0000 (+0200) Subject: mac82011: Allow selection of minstrel_ht as default rc algorithm X-Git-Tag: v3.0~4150^2~107^2~108 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92b50c4b5b01d0ba4efcff9e85f7a76b620fe789;p=platform%2Fkernel%2Flinux-amlogic.git 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 Signed-off-by: John W. Linville --- diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig index 83eec7a..4d6f8653 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 ""