staging: fix ath6kl build when CFG80211 is not enabled
Subsystems (2)
PATCH 1/1 staging: fix ath6kl build when CFG80211 is not enabled
This patch is still needed in linux-next:
Begin forwarded message:
Date: Tue, 17 May 2011 15:15:19 -0700
From: Randy Dunlap <[email protected]>
To: Stephen Rothwell <[email protected]>, driverdevel <[email protected]>
Cc: LKML <[email protected]>, [email protected], Joe Perches <[email protected]>
Subject: [PATCH -next] staging: fix ath6kl build when CFG80211 is not enabled
From: Randy Dunlap <[email protected]>
Fix build errors when CONFIG_CFG80211 is not enabled:
drivers/built-in.o: In function `ar6k_cfg80211_deinit':
(.text+0x189b71): undefined reference to cfg80211_scan_done' drivers/built-in.o: In function ar6k_cfg80211_deinit':
(.text+0x189b86): undefined reference to wiphy_unregister' drivers/built-in.o: In function ar6k_cfg80211_deinit':
(.text+0x189b8d): undefined reference to wiphy_free' drivers/built-in.o: In function ar6k_cfg80211_init':
(.text+0x18add7): undefined reference to wiphy_new' drivers/built-in.o: In function ar6k_cfg80211_init':
(.text+0x18ae48): undefined reference to wiphy_register' drivers/built-in.o: In function ar6k_cfg80211_tkip_micerr_event':
(.text+0x18ae95): undefined reference to cfg80211_michael_mic_failure' drivers/built-in.o: In function ar6k_cfg80211_scan_node':
(.text+0x18afb5): undefined reference to __ieee80211_get_channel' drivers/built-in.o: In function ar6k_cfg80211_scan_node':
(.text+0x18afd2): undefined reference to cfg80211_inform_bss_frame' drivers/built-in.o: In function ar6k_cfg80211_disconnect_event':
(.text+0x18b046): undefined reference to cfg80211_ibss_joined' drivers/built-in.o: In function ar6k_cfg80211_disconnect_event':
(.text+0x18b176): undefined reference to cfg80211_connect_result' drivers/built-in.o: In function ar6k_cfg80211_disconnect_event':
(.text+0x18b190): undefined reference to cfg80211_disconnected' drivers/built-in.o: In function ar6k_cfg80211_connect_event':
(.text+0x18b291): undefined reference to cfg80211_get_bss' drivers/built-in.o: In function ar6k_cfg80211_connect_event':
(.text+0x18b457): undefined reference to cfg80211_put_bss' drivers/built-in.o: In function ar6k_cfg80211_connect_event':
(.text+0x18b4fa): undefined reference to `cfg80211_roamed'
--- drivers/staging/ath6kl/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/staging/ath6kl/Kconfig +1 -0
@@ -1,6 +1,7 @@ config ATH6K_LEGACY tristate "Atheros AR6003 support (non mac80211)" depends on MMC && WLAN + depends on CFG80211 select WIRELESS_EXT select WEXT_PRIV help
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Quoted 45 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix build errors when
CONFIG_CFG80211is not enabled:
drivers/built-in.o: In function `ar6k_cfg80211_deinit':
(.text+0x189b71): undefined reference tocfg80211_scan_done' drivers/built-in.o: In functionar6k_cfg80211_deinit':
(.text+0x189b86): undefined reference towiphy_unregister' drivers/built-in.o: In functionar6k_cfg80211_deinit':
(.text+0x189b8d): undefined reference towiphy_free' drivers/built-in.o: In functionar6k_cfg80211_init':
(.text+0x18add7): undefined reference towiphy_new' drivers/built-in.o: In functionar6k_cfg80211_init':
(.text+0x18ae48): undefined reference towiphy_register' drivers/built-in.o: In functionar6k_cfg80211_tkip_micerr_event':
(.text+0x18ae95): undefined reference tocfg80211_michael_mic_failure' drivers/built-in.o: In functionar6k_cfg80211_scan_node':
(.text+0x18afb5): undefined reference to__ieee80211_get_channel' drivers/built-in.o: In functionar6k_cfg80211_scan_node':
(.text+0x18afd2): undefined reference tocfg80211_inform_bss_frame' drivers/built-in.o: In functionar6k_cfg80211_disconnect_event':
(.text+0x18b046): undefined reference tocfg80211_ibss_joined' drivers/built-in.o: In functionar6k_cfg80211_disconnect_event':
(.text+0x18b176): undefined reference tocfg80211_connect_result' drivers/built-in.o: In functionar6k_cfg80211_disconnect_event':
(.text+0x18b190): undefined reference tocfg80211_disconnected' drivers/built-in.o: In functionar6k_cfg80211_connect_event':
(.text+0x18b291): undefined reference tocfg80211_get_bss' drivers/built-in.o: In functionar6k_cfg80211_connect_event':
(.text+0x18b457): undefined reference tocfg80211_put_bss' drivers/built-in.o: In functionar6k_cfg80211_connect_event':
(.text+0x18b4fa): undefined reference to `cfg80211_roamed'Signed-off-by Randy Dunlap <[email protected]>Cc Luis R. Rodriguez <[email protected]>Cc Joe Perches <[email protected]>Cc Naveen Singh <[email protected]>--- drivers/staging/ath6kl/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/staging/ath6kl/Kconfig line 4
Quoted 4 lines
drivers/staging/ath6kl/Kconfig +1
-0@@ -1,6 +1,7 @@ config ATH6K_LEGACY tristate "Atheros AR6003 support (non mac80211)" depends on MMC && WLAN + depends on CFG80211
Is this still needed in the next linux-next release?
confused,
greg k-h
Quoted 43 lines · Greg KH
Quoted 42 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix build errors when
CONFIG_CFG80211is not enabled:
drivers/built-in.o: In function `ar6k_cfg80211_deinit':
(.text+0x189b71): undefined reference tocfg80211_scan_done' drivers/built-in.o: In functionar6k_cfg80211_deinit':
(.text+0x189b86): undefined reference towiphy_unregister' drivers/built-in.o: In functionar6k_cfg80211_deinit':
(.text+0x189b8d): undefined reference towiphy_free' drivers/built-in.o: In functionar6k_cfg80211_init':
(.text+0x18add7): undefined reference towiphy_new' drivers/built-in.o: In functionar6k_cfg80211_init':
(.text+0x18ae48): undefined reference towiphy_register' drivers/built-in.o: In functionar6k_cfg80211_tkip_micerr_event':
(.text+0x18ae95): undefined reference tocfg80211_michael_mic_failure' drivers/built-in.o: In functionar6k_cfg80211_scan_node':
(.text+0x18afb5): undefined reference to__ieee80211_get_channel' drivers/built-in.o: In functionar6k_cfg80211_scan_node':
(.text+0x18afd2): undefined reference tocfg80211_inform_bss_frame' drivers/built-in.o: In functionar6k_cfg80211_disconnect_event':
(.text+0x18b046): undefined reference tocfg80211_ibss_joined' drivers/built-in.o: In functionar6k_cfg80211_disconnect_event':
(.text+0x18b176): undefined reference tocfg80211_connect_result' drivers/built-in.o: In functionar6k_cfg80211_disconnect_event':
(.text+0x18b190): undefined reference tocfg80211_disconnected' drivers/built-in.o: In functionar6k_cfg80211_connect_event':
(.text+0x18b291): undefined reference tocfg80211_get_bss' drivers/built-in.o: In functionar6k_cfg80211_connect_event':
(.text+0x18b457): undefined reference tocfg80211_put_bss' drivers/built-in.o: In functionar6k_cfg80211_connect_event':
(.text+0x18b4fa): undefined reference to `cfg80211_roamed'Signed-off-by Randy Dunlap <[email protected]>Cc Luis R. Rodriguez <[email protected]>Cc Joe Perches <[email protected]>Cc Naveen Singh <[email protected]>--- drivers/staging/ath6kl/Kconfig | 1 + 1 file changed, 1 insertion(+)
Quoted 9 lines
drivers/staging/ath6kl/Kconfig line 4
Quoted 7 lines
drivers/staging/ath6kl/Kconfig +1
-0@@ -1,6 +1,7 @@ config ATH6K_LEGACY tristate "Atheros AR6003 support (non mac80211)" depends on MMC && WLAN + depends on CFG80211Is this still needed in the next linux-next release?
It's already there, isn't it?
config ATH6K_LEGACY
tristate "Atheros AR6003 support (non mac80211)"
depends on MMC && WLAN
depends on CFG80211
select WIRELESS_EXT
select WEXT_PRIVSignature · 2 lines
~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***
Quoted 54 lines · Randy Dunlap
Quoted 43 lines · Greg KH
Quoted 42 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix build errors when
CONFIG_CFG80211is not enabled:
drivers/built-in.o: In function `ar6k_cfg80211_deinit':
(.text+0x189b71): undefined reference tocfg80211_scan_done' drivers/built-in.o: In functionar6k_cfg80211_deinit':
(.text+0x189b86): undefined reference towiphy_unregister' drivers/built-in.o: In functionar6k_cfg80211_deinit':
(.text+0x189b8d): undefined reference towiphy_free' drivers/built-in.o: In functionar6k_cfg80211_init':
(.text+0x18add7): undefined reference towiphy_new' drivers/built-in.o: In functionar6k_cfg80211_init':
(.text+0x18ae48): undefined reference towiphy_register' drivers/built-in.o: In functionar6k_cfg80211_tkip_micerr_event':
(.text+0x18ae95): undefined reference tocfg80211_michael_mic_failure' drivers/built-in.o: In functionar6k_cfg80211_scan_node':
(.text+0x18afb5): undefined reference to__ieee80211_get_channel' drivers/built-in.o: In functionar6k_cfg80211_scan_node':
(.text+0x18afd2): undefined reference tocfg80211_inform_bss_frame' drivers/built-in.o: In functionar6k_cfg80211_disconnect_event':
(.text+0x18b046): undefined reference tocfg80211_ibss_joined' drivers/built-in.o: In functionar6k_cfg80211_disconnect_event':
(.text+0x18b176): undefined reference tocfg80211_connect_result' drivers/built-in.o: In functionar6k_cfg80211_disconnect_event':
(.text+0x18b190): undefined reference tocfg80211_disconnected' drivers/built-in.o: In functionar6k_cfg80211_connect_event':
(.text+0x18b291): undefined reference tocfg80211_get_bss' drivers/built-in.o: In functionar6k_cfg80211_connect_event':
(.text+0x18b457): undefined reference tocfg80211_put_bss' drivers/built-in.o: In functionar6k_cfg80211_connect_event':
(.text+0x18b4fa): undefined reference to `cfg80211_roamed'Signed-off-by Randy Dunlap <[email protected]>Cc Luis R. Rodriguez <[email protected]>Cc Joe Perches <[email protected]>Cc Naveen Singh <[email protected]>--- drivers/staging/ath6kl/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 9 lines
drivers/staging/ath6kl/Kconfig line 4
Quoted 7 lines
drivers/staging/ath6kl/Kconfig +1
-0@@ -1,6 +1,7 @@ config ATH6K_LEGACY tristate "Atheros AR6003 support (non mac80211)" depends on MMC && WLAN + depends on CFG80211Is this still needed in the next linux-next release?
Quoted 8 lines
It's already there, isn't it?
config
ATH6K_LEGACYtristate "Atheros AR6003 support (non mac80211)" depends on MMC && WLAN depends on CFG80211 select WIRELESS_EXT select WEXT_PRIV
I thought so, hence my confusion :)