summaryrefslogtreecommitdiffstats
path: root/net/mac80211/Kconfig
diff options
context:
space:
mode:
authorJohannes Berg2011-03-01 17:18:26 +0100
committerJohn W. Linville2011-03-01 19:48:22 +0100
commite46395a4b3d32d161d8b6d8e4a002972b1faae3e (patch)
tree3b81c224c9403c0497b655dbd54f1208c0850852 /net/mac80211/Kconfig
parentb43: N-PHY: rev3+: add static tables (diff)
downloadkernel-qcow2-linux-e46395a4b3d32d161d8b6d8e4a002972b1faae3e.tar.gz
kernel-qcow2-linux-e46395a4b3d32d161d8b6d8e4a002972b1faae3e.tar.xz
kernel-qcow2-linux-e46395a4b3d32d161d8b6d8e4a002972b1faae3e.zip
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 <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/Kconfig')
-rw-r--r--net/mac80211/Kconfig2
1 files changed, 1 insertions, 1 deletions
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"