Browse Source

staging: rtlwifi: add MAC80211 dependency

Like the version in drivers/net/wireless, this driver requires the
MAC80211 framework, otherwise we run into a link error:

ERROR: "ieee80211_rx_irqsafe" [drivers/staging/rtlwifi/r8822be.ko] undefined!
ERROR: "cfg80211_unlink_bss" [drivers/staging/rtlwifi/r8822be.ko] undefined!
ERROR: "ieee80211_beacon_get_tim" [drivers/staging/rtlwifi/r8822be.ko] undefined!
ERROR: "ieee80211_resume_disconnect" [drivers/staging/rtlwifi/r8822be.ko] undefined!

This adds the Kconfig dependency for it.

Fixes: 56bde846304e ("staging: r8822be: Add existing rtlwifi and rtl_pci parts for new driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Arnd Bergmann 8 years ago
parent
commit
89ff9d58e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/rtlwifi/Kconfig

+ 1 - 1
drivers/staging/rtlwifi/Kconfig

@@ -1,6 +1,6 @@
 config R8822BE
 config R8822BE
 	tristate "Realtek RTL8822BE Wireless Network Adapter"
 	tristate "Realtek RTL8822BE Wireless Network Adapter"
-	depends on NETDEVICES && PCI && m
+	depends on PCI && MAC80211 && m
 	select FW_LOADER
 	select FW_LOADER
 	---help---
 	---help---
 	This is the staging driver for Realtek RTL8822BE 802.11ac PCIe
 	This is the staging driver for Realtek RTL8822BE 802.11ac PCIe