[openwrt/openwrt] ath79: use correct firmware name for UniFi AP

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 1 09:31:30 EST 2020


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/4c5eb1040f94871626f6a533242c3a9c068d5bb6

commit 4c5eb1040f94871626f6a533242c3a9c068d5bb6
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sat Oct 31 16:41:04 2020 +0100

    ath79: use correct firmware name for UniFi AP
    
    The Ubiquiti UniFi AP does not have a AHB connected radio but a PCI one.
    Also the EEPROM ist only 0x440 bytes of length.
    
    Reported-by: Martin Weinelt <martin at darmstadt.freifunk.net>
    Tested-by: Martin Weinelt <martin at darmstadt.freifunk.net>
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 .../ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index 88d43e25c4..194df74292 100644
--- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -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|\



More information about the lede-commits mailing list