[openwrt/openwrt] ath79: add WiFi migration for AR913x

LEDE Commits lede-commits at lists.infradead.org
Mon Sep 28 10:24:24 EDT 2020


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a735eabc32d4e7e419c0f052ceb3b0529516595b

commit a735eabc32d4e7e419c0f052ceb3b0529516595b
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sat Sep 26 22:14:32 2020 +0200

    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 at david-bauer.net>
---
 .../linux/ath79/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
 		;;



More information about the lede-commits mailing list