From: Shiji Yang Date: Thu, 1 Feb 2024 11:39:51 +0000 (+0800) Subject: ath79: add back board-2.bin to COMFAST devices X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3c7ce20d5cd08b54fffd73a38900534a22d0aeca;p=openwrt%2Fstaging%2Fstintel.git ath79: add back board-2.bin to COMFAST devices The ath10k driver will load both pre-calibration data and board-2.bin if board-2.bin exists. So it's not necessary to remove it. And this change won't increase jffs2 image size. Signed-off-by: Shiji Yang --- diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 1acbf35947..a5d244d85b 100644 --- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -185,7 +185,6 @@ case "$FIRMWARE" in ath10k_patch_mac $(mtd_get_mac_binary art 0x6) ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \ /lib/firmware/ath10k/QCA9888/hw2.0/board.bin - rm /lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin ;; comfast,cf-e375ac|\ comfast,cf-e560ac|\ @@ -195,7 +194,6 @@ case "$FIRMWARE" in ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) 2) ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \ /lib/firmware/ath10k/QCA9888/hw2.0/board.bin - rm /lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin ;; dlink,dir-842-c1|\ dlink,dir-842-c2|\