From: Chuanhong Guo Date: Fri, 21 Jun 2019 10:33:53 +0000 (+0800) Subject: ath79: add wmac migration for all ar93xx/qca95xx SoCs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=95d5cbdec34e3d29db17a2c823e3d01be1e9c283;p=openwrt%2Fstaging%2Fzorun.git ath79: add wmac migration for all ar93xx/qca95xx SoCs Add migration for all ar71xx device path as well as previously incorrect ath79 path. Signed-off-by: Chuanhong Guo (cherry picked from commit d08b5bb344792bb82ccbcf3a0a8d25c79e72f4fe) Tested-by: Lech Perczak [TP-Link TL-WDR4300 v1] --- 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 b1824303e6..37a1346fe7 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 @@ -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 ;;