From: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Date: Sun, 10 Nov 2019 23:15:36 +0000 (+0100)
Subject: ath79: fix identifier for Nanostation M in ath9k caldata extraction
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5dc535419fe5f59839686570545fc4180e14d545;p=openwrt%2Fstaging%2Fxback.git

ath79: fix identifier for Nanostation M in ath9k caldata extraction

When Nanostation M was renamed from ubnt,nano-m to ubnt,nanostation-m
in commit f1396ac753cc ("ath79: align naming of Ubiquiti Nanostation M"),
the caldata extraction in 10-ath9k-eeprom was overlooked.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
---

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 6a6484879a..f04fb64fc9 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
@@ -83,7 +83,7 @@ case "$FIRMWARE" in
 	tplink,tl-wr842n-v1|\
 	ubnt,airrouter|\
 	ubnt,bullet-m|\
-	ubnt,nano-m|\
+	ubnt,nanostation-m|\
 	ubnt,rocket-m)
 		caldata_extract "art" 0x1000 0x1000
 		;;