Browse Source

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>
Valdis Kletnieks 7 years ago
parent
commit
1ec49a2365
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/net/wireless/mediatek/mt76/Kconfig

+ 1 - 0
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