aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mt76
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-01-04 11:56:36 +0100
committerDavid Bauer <mail@david-bauer.net>2020-01-04 12:40:04 +0100
commitbce5342fb6593de1012a3560a122dfdea8330196 (patch)
tree3663a78d9b97db3de1512d75acca13156c1a0cd8 /package/kernel/mt76
parent594f731e04f5442c94a4cfb57c7d46d7513fa9ce (diff)
downloadupstream-bce5342fb6593de1012a3560a122dfdea8330196.tar.gz
upstream-bce5342fb6593de1012a3560a122dfdea8330196.tar.bz2
upstream-bce5342fb6593de1012a3560a122dfdea8330196.zip
mt76: fix incorrect firmware path
The mt76 driver does load the firmware for the MT7615 chip from /lib/firmware/mediatek instead of /lib/firmware. The driver loads the firmware from this path since mt76 commit ea3ab68c7589 ("mt76: mt7615: fix mt7615 firmware path definitions"). Fixes: a2e2c40b5ebd ("mt76: update to the latest openwrt-19.07 version") Reported-by: Stijn Segers <foss@volatilesystems.org> Signed-off-by: David Bauer <mail@david-bauer.net> Tested-by: Stijn Segers <foss@volatilesystems.org>
Diffstat (limited to 'package/kernel/mt76')
-rw-r--r--package/kernel/mt76/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
index 9b18117944..02268e92f7 100644
--- a/package/kernel/mt76/Makefile
+++ b/package/kernel/mt76/Makefile
@@ -246,12 +246,12 @@ define KernelPackage/mt7603/install
endef
define KernelPackage/mt7615e/install
- $(INSTALL_DIR) $(1)/lib/firmware
+ $(INSTALL_DIR) $(1)/lib/firmware/mediatek
cp \
$(PKG_BUILD_DIR)/firmware/mt7615_cr4.bin \
$(PKG_BUILD_DIR)/firmware/mt7615_n9.bin \
$(PKG_BUILD_DIR)/firmware/mt7615_rom_patch.bin \
- $(1)/lib/firmware
+ $(1)/lib/firmware/mediatek
endef
$(eval $(call KernelPackage,mt76-core))