瀏覽代碼

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>
Johannes Berg 14 年之前
父節點
當前提交
e46395a4b3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/mac80211/Kconfig

+ 1 - 1
net/mac80211/Kconfig

@@ -78,7 +78,7 @@ config MAC80211_RC_DEFAULT
 endif
 endif
 
 
 comment "Some wireless drivers require a rate control algorithm"
 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
 config MAC80211_MESH
 	bool "Enable mac80211 mesh networking (pre-802.11s) support"
 	bool "Enable mac80211 mesh networking (pre-802.11s) support"