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>
Mon, 9 Dec 2024 23:02:27 +0000 (00:02 +0100)
commitf8b93e2d12ef01fc565178c71c39470da798155a
treeaf829d0f10a66583b17adf24bf0353c6f866d308
parenta498a84393a80de9f828b8465906761896ca4940
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>
target/linux/mediatek/filogic/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate [new file with mode: 0644]