From a735eabc32d4e7e419c0f052ceb3b0529516595b Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sat, 26 Sep 2020 22:14:32 +0200 Subject: [PATCH] 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 --- .../base-files/etc/hotplug.d/ieee80211/00-wifi-migration | 4 ++++ 1 file changed, 4 insertions(+) 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 ;;