Subject: [PATCH -next] staging: brcm80211 depends on MAC80211

From: Randy Dunlap <[email-masked]>
Date: Tue, 21 Sep 2010 09:35:49 -0700

From: Randy Dunlap <[email-masked]>

Fix brcm890211 build: it should depend on MAC80211.
MAC80211 depends on CFG80211, which takes care of <regulatory_hint>
below.

ERROR: "ieee80211_rx_irqsafe" [drivers/staging/brcm80211/brcm80211.ko] undefined!
ERROR: "ieee80211_unregister_hw" [drivers/staging/brcm80211/brcm80211.ko] undefined!
ERROR: "ieee80211_stop_queues" [drivers/staging/brcm80211/brcm80211.ko] undefined!
ERROR: "ieee80211_wake_queues" [drivers/staging/brcm80211/brcm80211.ko] undefined!
ERROR: "ieee80211_stop_tx_ba_cb_irqsafe" [drivers/staging/brcm80211/brcm80211.ko] undefined!
ERROR: "ieee80211_tx_status_irqsafe" [drivers/staging/brcm80211/brcm80211.ko] undefined!
ERROR: "ieee80211_register_hw" [drivers/staging/brcm80211/brcm80211.ko] undefined!
ERROR: "regulatory_hint" [drivers/staging/brcm80211/brcm80211.ko] undefined!
ERROR: "ieee80211_alloc_hw" [drivers/staging/brcm80211/brcm80211.ko] undefined!
ERROR: "ieee80211_free_hw" [drivers/staging/brcm80211/brcm80211.ko] undefined!
ERROR: "ieee80211_start_tx_ba_cb_irqsafe" [drivers/staging/brcm80211/brcm80211.ko] undefined!

Signed-off-by: Randy Dunlap <[email-masked]>
Cc: Brett Rudley <[email-masked]>
Cc: Henry Ptasinski <[email-masked]>
Cc: Nohee Ko <[email-masked]>
---
 drivers/staging/brcm80211/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20100921.orig/drivers/staging/brcm80211/Kconfig
+++ linux-next-20100921/drivers/staging/brcm80211/Kconfig
@@ -1,6 +1,6 @@
 menuconfig BRCM80211
 	tristate "Broadcom 802.11 WLAN driver for bcm43xx chips"
-	depends on PCI && WLAN
+	depends on PCI && WLAN && MAC80211
 	select WIRELESS_EXT
 	select WEXT_PRIV
 	default N