Skip to contentSkip to conversation

mac80211: make rate control Kconfig warning depend on mac80211

PATCH New Johannes Berg 1 participant 1 message Mar 1, 2011 mac80211

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 mac80211: make rate control Kconfig warning depend on mac80211

From: Johannes Berg <[email protected]>

... Otherwise it is displayed when mac80211 isn't
even turned on, which is completely pointless.

---
 net/mac80211/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac80211/Kconfig +1 -1
@@ -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"