diff options
author | Valdis Kletnieks <valdis.kletnieks@vt.edu> | 2018-08-08 16:16:54 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-08-09 18:12:28 +0300 |
commit | 1ec49a236565060566be547b6e050bb414d0da96 (patch) | |
tree | d254f967800b990d7a10b573c56044bb68a00eab /drivers/net/wireless/mediatek/mt76 | |
parent | 17ad18fd12a35bf84109741415594e21f2577e5e (diff) | |
download | linux-stable-1ec49a236565060566be547b6e050bb414d0da96.tar.gz linux-stable-1ec49a236565060566be547b6e050bb414d0da96.tar.bz2 linux-stable-1ec49a236565060566be547b6e050bb414d0da96.zip |
mt76: fix build for MediaTek MT7610U USB wireless dongle
The mt76x0 driver requires the mt76 core driver to actually function.
So add a 'select' to avoid embarrassing 'symbol unknown' errors
when attempting to modprobe it in a module tree that doesn't
include mt76.ko
Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/Kconfig b/drivers/net/wireless/mediatek/mt76/Kconfig index 850611ad347a..b6c5f17dca30 100644 --- a/drivers/net/wireless/mediatek/mt76/Kconfig +++ b/drivers/net/wireless/mediatek/mt76/Kconfig @@ -11,6 +11,7 @@ config MT76x2_COMMON config MT76x0U tristate "MediaTek MT76x0U (USB) support" + select MT76_CORE depends on MAC80211 depends on USB help |