ath79: add wmac migration for all ar93xx/qca95xx SoCs
authorChuanhong Guo <gch981213@gmail.com>
Fri, 21 Jun 2019 10:33:53 +0000 (18:33 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Tue, 16 Jul 2019 01:55:29 +0000 (09:55 +0800)
Add migration for all ar71xx device path as well as previously
incorrect ath79 path.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration

index b1824303e62374c53188a7c341b9fb9ba3aec9af..37a1346fe7ff116793636fc697e8991bc2ac33d3 100644 (file)
@@ -24,11 +24,12 @@ migrate_wifi_path() {
                                ;;
                        esac
                ;;
-               "platform/qca955x_wmac")
-                       path="platform/ahb/ahb:apb/18100000.wmac"
-                       WIFI_PATH_CHANGED=1
-               ;;
-               "platform/ar933x_wmac")
+               "platform/ahb/ahb:apb/18100000.wmac"|\
+               "platform/ar933x_wmac"|\
+               "platform/ar934x_wmac"|\
+               "platform/qca953x_wmac"|\
+               "platform/qca955x_wmac"|\
+               "platform/qca956x_wmac")
                        path="platform/ahb/18100000.wmac"
                        WIFI_PATH_CHANGED=1
                ;;