ath79: add WiFi migration for AR913x
authorDavid Bauer <mail@david-bauer.net>
Sat, 26 Sep 2020 20:14:32 +0000 (22:14 +0200)
committerDavid Bauer <mail@david-bauer.net>
Mon, 28 Sep 2020 14:23:03 +0000 (16:23 +0200)
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>
target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration

index b0a5d79f9d422395cc289e63b132f9023d1ec1e9..d2df0533fe8a08f5debb03f1352040f318a930d5 100644 (file)
@@ -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
                ;;