ath79: add back board-2.bin to COMFAST devices
authorShiji Yang <yangshiji66@qq.com>
Thu, 1 Feb 2024 11:39:51 +0000 (19:39 +0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 1 Feb 2024 16:09:01 +0000 (17:09 +0100)
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 <yangshiji66@qq.com>
target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata

index 1acbf35947036e52285805c70f70f817456d8934..a5d244d85bdf923ac3b7c8de0ac3f79151539b6e 100644 (file)
@@ -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|\