From: Johannes Berg Date: Tue, 1 Mar 2011 16:18:26 +0000 (+0100) Subject: mac80211: make rate control Kconfig warning depend on mac80211 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e46395a4b3d32d161d8b6d8e4a002972b1faae3e;p=openwrt%2Fstaging%2Fblogic.git mac80211: make rate control Kconfig warning depend on mac80211 ... Otherwise it is displayed when mac80211 isn't even turned on, which is completely pointless. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig index 4c57a9c3729b..841dd1e2909e 100644 --- a/net/mac80211/Kconfig +++ b/net/mac80211/Kconfig @@ -78,7 +78,7 @@ config MAC80211_RC_DEFAULT endif comment "Some wireless drivers require a rate control algorithm" - depends on MAC80211_HAS_RC=n + depends on MAC80211 && MAC80211_HAS_RC=n config MAC80211_MESH bool "Enable mac80211 mesh networking (pre-802.11s) support"