Skip to contentSkip to conversation

staging: ath6kl: ATH6KL_LEGACY should depend on CFG80211

PATCH New Peter Foley 1 participant 1 message May 22, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: ath6kl: ATH6KL_LEGACY should depend on CFG80211

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

---
 drivers/staging/ath6kl/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/ath6kl/Kconfig +1 -1
index 1f15e1f..a5a9909 100644
@@ -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
Signature · 1 line
1.7.5.rc3