aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/nand
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-10-28 00:30:51 +0100
committerJohn Crispin <john@phrozen.org>2019-11-02 20:51:56 +0100
commit6d00e6fc7bc598daea83c5a5582daf3d081af87f (patch)
treed1115093d84fb36c6bc4827e4e1b45648bf25688 /target/linux/ath79/nand
parentcd87272eb241b1ea7955c1631ad2bb8d38e9fae9 (diff)
downloadupstream-6d00e6fc7bc598daea83c5a5582daf3d081af87f.tar.gz
upstream-6d00e6fc7bc598daea83c5a5582daf3d081af87f.tar.bz2
upstream-6d00e6fc7bc598daea83c5a5582daf3d081af87f.zip
ath79: fix several issues for ZyXEL NBG6716
This fixes several issues introduced with ZyXEL NBG6716 support: - Inhomogeneous indent - Wrong ath10k MAC patching function - Wrong brackets for pad-to in nand.mk - Add missing DEVICE_MODEL - Remove k2t.sh include (copy/paste leftover) Fixes: 99835e09992b ("ath79: add support for ZyXEL NBG6716") Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/nand')
-rw-r--r--target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 75fdd42cdd..433d6475dd 100644
--- a/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -3,7 +3,6 @@
[ -e /lib/firmware/$FIRMWARE ] && exit 0
. /lib/functions/caldata.sh
-. /lib/functions/k2t.sh
board=$(board_name)
@@ -12,7 +11,7 @@ case "$FIRMWARE" in
case $board in
zyxel,nbg6716)
caldata_extract "art" 0x5000 0x844
- ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) +1)
+ ath10k_patch_mac $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) +1)
;;
esac
;;