diff options
author | David Bauer <mail@david-bauer.net> | 2020-10-31 16:41:04 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-11-11 17:32:25 +0100 |
commit | ad3c2b97364d1fe2cad1e5483dfa7bcd6e40f0ff (patch) | |
tree | 19b1de51ef84cc45e9b0756419f4e06c67ea433c /target | |
parent | 84ae2383244d4624c29ea3d471e9ef386402b28f (diff) | |
download | upstream-ad3c2b97364d1fe2cad1e5483dfa7bcd6e40f0ff.tar.gz upstream-ad3c2b97364d1fe2cad1e5483dfa7bcd6e40f0ff.tar.bz2 upstream-ad3c2b97364d1fe2cad1e5483dfa7bcd6e40f0ff.zip |
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@darmstadt.freifunk.net>
Tested-by: Martin Weinelt <martin@darmstadt.freifunk.net>
Signed-off-by: David Bauer <mail@david-bauer.net>
(backported from commit 4c5eb1040f94871626f6a533242c3a9c068d5bb6)
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index fd889e36bb..1bdbab79d6 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -148,7 +148,8 @@ case "$FIRMWARE" in tplink,tl-wr941-v4) ath9k_eeprom_extract "art" 4096 3768 ;; - buffalo,wzr-hp-g450h) + buffalo,wzr-hp-g450h|\ + ubnt,unifi) ath9k_eeprom_extract "art" 4096 1088 ;; dlink,dir-825-c1|\ @@ -189,9 +190,6 @@ case "$FIRMWARE" in pqi,air-pen) ath9k_eeprom_extract "art" 4096 2002 ;; - ubnt,unifi) - ath9k_eeprom_extract "art" 4096 2048 - ;; wd,mynet-n750) ath9k_eeprom_extract "art" 20480 1088 ath9k_patch_fw_mac $(mtd_get_mac_ascii devdata "wlan5mac") 2 |