ath79: ubnt-xm: support ath9k firmware loading
authorLech Perczak <lech.perczak@gmail.com>
Tue, 21 Aug 2018 18:43:45 +0000 (20:43 +0200)
committerMathias Kresin <dev@kresin.me>
Thu, 23 Aug 2018 20:42:15 +0000 (22:42 +0200)
Enable ath9k EEPROM extraction on boot for Ubiquiti XM-series boards.
This is required for wireless interface to function.
Runtime tested on Nanobridge M5.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom

index 9cbce4cecdffce86059d7d4836d4fee24cee3eec..1af6f96be013cb9f2e8a5453b4d9f435ab3933ac 100644 (file)
@@ -137,6 +137,11 @@ case "$FIRMWARE" in
        tplink,tl-wr741-v1|\
        tplink,tl-wr743nd-v1|\
        tplink,tl-wr841-v7|\
+       ubnt,bullet-m|\
+       ubnt,nano-m|\
+       ubnt,rocket-m)
+               ath9k_eeprom_extract "art" 4096 4096
+               ;;
        ubnt,unifi)
                ath9k_eeprom_extract "art" 4096 2048
                ;;