ath79: use correct firmware name for UniFi AP
[openwrt/staging/stintel.git] / target / linux / ath79 / generic / base-files / etc / hotplug.d / firmware / 10-ath9k-eeprom
index 3983b1f8c0eaf3e2fa648d68b35aec161e3343c9..194df74292254010fd565f751edaa98f2d0f0612 100644 (file)
@@ -9,8 +9,7 @@ board=$(board_name)
 case "$FIRMWARE" in
 "ath9k-eeprom-ahb-18100000.wmac.bin")
        case $board in
-       8dev,lima|\
-       ubnt,unifi)
+       8dev,lima)
                caldata_extract "art" 0x1000 0x800
                ;;
        avm,fritz1750e|\
@@ -78,7 +77,8 @@ case "$FIRMWARE" in
        engenius,enh202-v1)
                caldata_extract "art" 0x1000 0xeb8
                ;;
-       buffalo,wzr-hp-g450h)
+       buffalo,wzr-hp-g450h|\
+       ubnt,unifi)
                caldata_extract "art" 0x1000 0x440
                ;;
        dlink,dir-825-c1|\
@@ -98,6 +98,7 @@ case "$FIRMWARE" in
        tplink,tl-wdr4300-v1-il|\
        tplink,tl-wdr4310-v1|\
        tplink,tl-wdr4900-v2|\
+       ubnt,unifi-ap-pro|\
        winchannel,wb2000)
                caldata_extract "art" 0x5000 0x440
                ;;