mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] staging: ath6kl: ATH6KL_LEGACY should depend on CFG80211
@ 2011-05-22 14:05 Peter Foley
  0 siblings, 0 replies; only message in thread
From: Peter Foley @ 2011-05-22 14:05 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: greg, mcgrof, joe, nsingh


ATH6KL_LEGACY should depend on CFG80211 to fix this build error:

  LD      .tmp_vmlinux1
drivers/built-in.o: In function `ieee80211_get_channel':
include/net/cfg80211.h:2078: undefined reference to `__ieee80211_get_channel'
drivers/built-in.o: In function `ar6k_cfg80211_scan_node':
drivers/staging/ath6kl/os/linux/cfg80211.c:798: undefined reference to `cfg80211_inform_bss_frame'
drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
drivers/staging/ath6kl/os/linux/cfg80211.c:493: undefined reference to `cfg80211_get_bss'
drivers/staging/ath6kl/os/linux/cfg80211.c:548: undefined reference to `cfg80211_put_bss'
drivers/built-in.o: In function `ieee80211_get_channel':
include/net/cfg80211.h:2078: undefined reference to `__ieee80211_get_channel'
drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
drivers/staging/ath6kl/os/linux/cfg80211.c:569: undefined reference to `cfg80211_inform_bss_frame'
drivers/staging/ath6kl/os/linux/cfg80211.c:574: undefined reference to `cfg80211_put_bss'
drivers/staging/ath6kl/os/linux/cfg80211.c:577: undefined reference to `cfg80211_ibss_joined'
drivers/staging/ath6kl/os/linux/cfg80211.c:584: undefined reference to `cfg80211_connect_result'
drivers/staging/ath6kl/os/linux/cfg80211.c:590: undefined reference to `cfg80211_roamed'
drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
drivers/staging/ath6kl/os/linux/cfg80211.c:650: undefined reference to `cfg80211_scan_done'
drivers/staging/ath6kl/os/linux/cfg80211.c:660: undefined reference to `cfg80211_ibss_joined'
drivers/staging/ath6kl/os/linux/cfg80211.c:724: undefined reference to `cfg80211_connect_result'
drivers/staging/ath6kl/os/linux/cfg80211.c:730: undefined reference to `cfg80211_disconnected'
drivers/built-in.o: In function `ar6k_cfg80211_scanComplete_event':
drivers/staging/ath6kl/os/linux/cfg80211.c:875: undefined reference to `cfg80211_scan_done'
drivers/built-in.o: In function `ar6k_cfg80211_tkip_micerr_event':
drivers/staging/ath6kl/os/linux/cfg80211.c:1141: undefined reference to `cfg80211_michael_mic_failure'
drivers/built-in.o: In function `ar6k_cfg80211_init':
drivers/staging/ath6kl/os/linux/cfg80211.c:1648: undefined reference to `wiphy_new'
drivers/staging/ath6kl/os/linux/cfg80211.c:1670: undefined reference to `wiphy_register'
drivers/staging/ath6kl/os/linux/cfg80211.c:1674: undefined reference to `wiphy_free'
drivers/built-in.o: In function `ar6k_cfg80211_deinit':
drivers/staging/ath6kl/os/linux/cfg80211.c:1689: undefined reference to `cfg80211_scan_done'
drivers/staging/ath6kl/os/linux/cfg80211.c:1696: undefined reference to `wiphy_unregister'
drivers/staging/ath6kl/os/linux/cfg80211.c:1697: undefined reference to `wiphy_free'
make[2]: *** [.tmp_vmlinux1] Error 1
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2

Signed-off-by: Peter Foley <pefoley2@verizon.net>
---
 drivers/staging/ath6kl/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/ath6kl/Kconfig b/drivers/staging/ath6kl/Kconfig
index 1f15e1f..a5a9909 100644
--- a/drivers/staging/ath6kl/Kconfig
+++ b/drivers/staging/ath6kl/Kconfig
@@ -1,6 +1,6 @@
 config ATH6K_LEGACY
 	tristate "Atheros AR6003 support (non mac80211)"
-        depends on MMC && WLAN
+        depends on MMC && WLAN && CFG80211
         select WIRELESS_EXT
         select WEXT_PRIV
 	help
-- 
1.7.5.rc3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-22 14:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-22 14:05 [PATCH] staging: ath6kl: ATH6KL_LEGACY should depend on CFG80211 Peter Foley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®