Skip to content

Commit

Permalink
mac80211: make rate control Kconfig warning depend on mac80211
Browse files Browse the repository at this point in the history
... 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>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Mar 1, 2011
1 parent 27b4eb2 commit e46395a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac80211/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e46395a

Please sign in to comment.