summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtlwifi/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann2017-08-23 15:22:52 +0200
committerGreg Kroah-Hartman2017-08-24 01:29:09 +0200
commit89ff9d58e6b61bc90638157ae9ec21f6e3186a5a (patch)
tree2adf73625a507731c4ff2ea66c6e83b1a49de46b /drivers/staging/rtlwifi/Kconfig
parentstaging: rtlwifi: simplify logical operation (diff)
downloadkernel-qcow2-linux-89ff9d58e6b61bc90638157ae9ec21f6e3186a5a.tar.gz
kernel-qcow2-linux-89ff9d58e6b61bc90638157ae9ec21f6e3186a5a.tar.xz
kernel-qcow2-linux-89ff9d58e6b61bc90638157ae9ec21f6e3186a5a.zip
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>
Diffstat (limited to 'drivers/staging/rtlwifi/Kconfig')
-rw-r--r--drivers/staging/rtlwifi/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtlwifi/Kconfig b/drivers/staging/rtlwifi/Kconfig
index 37e47b80594a..cb3a29ae764b 100644
--- a/drivers/staging/rtlwifi/Kconfig
+++ b/drivers/staging/rtlwifi/Kconfig
@@ -1,6 +1,6 @@
config R8822BE
tristate "Realtek RTL8822BE Wireless Network Adapter"
- depends on NETDEVICES && PCI && m
+ depends on PCI && MAC80211 && m
select FW_LOADER
---help---
This is the staging driver for Realtek RTL8822BE 802.11ac PCIe