aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-09-26 22:14:32 +0200
committerDavid Bauer <mail@david-bauer.net>2020-09-28 16:23:03 +0200
commita735eabc32d4e7e419c0f052ceb3b0529516595b (patch)
treef67b1da44e01758529e9acbf695c284409ab6dd8 /target/linux
parent475838de1a33d49d1a0b81aad374a8db6dd2b3c8 (diff)
downloadupstream-a735eabc32d4e7e419c0f052ceb3b0529516595b.tar.gz
upstream-a735eabc32d4e7e419c0f052ceb3b0529516595b.tar.bz2
upstream-a735eabc32d4e7e419c0f052ceb3b0529516595b.zip
ath79: add WiFi migration for AR913x
This adds the automatic WiFi path migration for AR913x platforms. Tested on: TP-Link TL-WA901ND v2 Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration
index b0a5d79f9d..d2df0533fe 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration
+++ b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration
@@ -34,6 +34,10 @@ migrate_wifi_path() {
path="platform/ahb/18100000.wmac"
WIFI_PATH_CHANGED=1
;;
+ "platform/ath9k")
+ path="platform/ahb/180c0000.wmac"
+ WIFI_PATH_CHANGED=1
+ ;;
*)
return 0
;;