lkml.org 
[lkml]   [2005]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] HostAP: fix Kbuild warning
Date
From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>

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@linux-m68k.org>, <kbuild-devel@lists.sourceforge.net>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
---

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-20 21:17    [W:0.022 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site