[PATCH 3/3] HostAP: fix Kbuild warning

From: Paolo 'Blaisorblade' Giarrusso
Date: Tue Sep 20 2005 - 13:51:45 EST


From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx>

The dependency on NET_RADIO is useless, because we select already it indirectly,
through IEEE80211.

The "recursive dependency" warning is actually IMHO partially wrong in this
context (we don't have a recursive dependency, but we *do* have recursion in the
code, for the way we recurse on "select" dependencies), but fixing it properly
doesn't seem easy (and I've not the time for this).

CC: Roman Zippel <zippel@xxxxxxxxxxxxxx>, <kbuild-devel@xxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx>
---

drivers/net/wireless/hostap/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/hostap/Kconfig b/drivers/net/wireless/hostap/Kconfig
--- a/drivers/net/wireless/hostap/Kconfig
+++ b/drivers/net/wireless/hostap/Kconfig
@@ -1,6 +1,6 @@
config HOSTAP
tristate "IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)"
- depends on NET_RADIO
+ #Dependency on NET_RADIO is implied by selecting IEEE80211 -> NET_RADIO.
select IEEE80211
select IEEE80211_CRYPT_WEP
---help---

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/