filogic: fix wifi eeprom filename for tuf-ax6000
authorPatryk Kowalczyk <patryk@kowalczyk.ws>
Thu, 2 Nov 2023 08:46:36 +0000 (09:46 +0100)
committerDavid Bauer <mail@david-bauer.net>
Fri, 3 Nov 2023 22:06:07 +0000 (23:06 +0100)
The router use mt7986_eeprom_mt7976_dual.bin

Fixes: d522ccecb2 ("filogic: add support for ASUS TUF AX6000")
Signed-off-by: Patryk Kowalczyk <patryk@kowalczyk.ws>
target/linux/mediatek/filogic/base-files/etc/hotplug.d/firmware/11-mt76-caldata

index 63c1ec31b7a09ee10c50093a88a2dca4e78f3679..4d9833f66cfb0a8e004458e54ca53ff1647a6065 100644 (file)
@@ -45,8 +45,7 @@ case "$FIRMWARE" in
        ;;
 "mediatek/mt7986_eeprom_mt7976_dbdc.bin")
        case "$board" in
-       asus,tuf-ax4200|\
-       asus,tuf-ax6000)
+       asus,tuf-ax4200)
                CI_UBIPART="UBI_DEV"
                caldata_extract_ubi "Factory" 0x0 0x1000
                ;;
@@ -54,6 +53,10 @@ case "$FIRMWARE" in
        ;;
 "mediatek/mt7986_eeprom_mt7976_dual.bin")
        case "$board" in
+       asus,tuf-ax6000)
+               CI_UBIPART="UBI_DEV"
+               caldata_extract_ubi "Factory" 0x0 0x1000
+               ;;
        glinet,gl-mt6000)
                caldata_extract_mmc "factory" 0x0 0x1000
                ;;