ath79: convert Engenius EPG5000 radios to nvmem-cells
[openwrt/staging/jow.git] / target / linux / ath79 / generic / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index b0b91f1c8abf196626e8b7055b6201148750326f..4db311fde0abb4f5426a9c1ad194809d5dbf374c 100644 (file)
@@ -77,14 +77,6 @@ case "$FIRMWARE" in
                caldata_extract "art" 0x5000 0x844
                ath10k_patch_mac $(mtd_get_mac_ascii u-boot-env athaddr)
                ;;
-       engenius,epg5000|\
-       iodata,wn-ac1167dgr|\
-       iodata,wn-ac1600dgr2|\
-       sitecom,wlr-7100|\
-       zyxel,nbg6616)
-               caldata_extract "art" 0x5000 0x844
-               ath10k_patch_mac $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) 1)
-               ;;
        engenius,ews511ap)
                caldata_extract "art" 0x5000 0x844
                ath10k_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) 1)
@@ -97,6 +89,13 @@ case "$FIRMWARE" in
                caldata_extract "art" 0x5000 0x844
                ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) 1)
                ;;
+       iodata,wn-ac1167dgr|\
+       iodata,wn-ac1600dgr2|\
+       sitecom,wlr-7100|\
+       zyxel,nbg6616)
+               caldata_extract "art" 0x5000 0x844
+               ath10k_patch_mac $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) 1)
+               ;;
        nec,wg800hp)
                caldata_extract "art" 0x5000 0x844
                ath10k_patch_mac $(mtd_get_mac_text board_data 0x880)