mediatek: filogic: Migrate wifi configuration device paths
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 8 Dec 2024 15:18:52 +0000 (16:18 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 10 Dec 2024 00:06:10 +0000 (01:06 +0100)
commitd48e499fc1f2722491d9952bd4c3db007d151505
tree03b0c0a4aeab891ca26c7c102fdc4f99baad93c9
parentb9df2d79b657574dcba018816b7ffd492df9ce79
mediatek: filogic: Migrate wifi configuration device paths

The device path to the devices changed. Migrate the wifi
configurations from the old path to the new one. This is needed to
migrate Wireless configurations from OpenWrt 23.05 to OpenWrt 24.10.

This script is based on these two files:
target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate
target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate

Fixes: 0ef927472148 ("mediatek: filogic: move mt7981 on-SoC blocks to "soc" node in DT")
Fixes: https://github.com/openwrt/openwrt/issues/17174
Link: https://github.com/openwrt/openwrt/pull/17210
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit f8b93e2d12ef01fc565178c71c39470da798155a)
target/linux/mediatek/filogic/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate [new file with mode: 0644]