filogic: fix wifi eeprom filename for tuf-ax6000 The router use mt7986_eeprom_mt7976_...
authorPatryk Kowalczyk <patryk@kowalczyk.ws>
Thu, 2 Nov 2023 08:46:36 +0000 (09:46 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 15 Mar 2024 22:28:14 +0000 (23:28 +0100)
Fixes: d522ccecb2 ("filogic: add support for ASUS TUF AX6000")
Signed-off-by: Patryk Kowalczyk <patryk@kowalczyk.ws>
(cherry picked from commit 0c3f4bd85ee6067588a81843a403850ab0082270)
Signed-off-by: Tom Herbers <mail@tomherbers.de>
target/linux/mediatek/filogic/base-files/etc/hotplug.d/firmware/11-mt76-caldata

index 8eda14f82b51d0ce70c4aaffe716f2b3708ff923..bff3be2a9ba5222b8f8dfa823a1f859df7ae3e55 100644 (file)
@@ -46,8 +46,7 @@ case "$FIRMWARE" in
 "mediatek/mt7986_eeprom_mt7976_dbdc.bin")
        case "$board" in
        asus,rt-ax59u|\
-       asus,tuf-ax4200|\
-       asus,tuf-ax6000)
+       asus,tuf-ax4200)
                CI_UBIPART="UBI_DEV"
                caldata_extract_ubi "Factory" 0x0 0x1000
                ;;
@@ -55,6 +54,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
                ;;