diff --git a/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate b/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate index 9e8879905a..c08e10bf07 100644 --- a/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate +++ b/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate @@ -29,11 +29,14 @@ check_path() config_get path "$config" path to=${path/soc\//soc@0\/} + to=${to/pci\//pcie\/} # Checks if kernel version is less than 6.6.0, if it is and the path is using the new format, # then path should be migrated to the old format. This would allow users on platforms with two partitions, # to test 6.1 and 6.6. - [ "$(get_linux_version)" -lt "606000" ] && to=${path/soc@0\//soc\/} + [ "$(get_linux_version)" -lt "606000" ] && to=${to/soc@0\//soc\/} + + [ "$(get_linux_version)" -lt "612000" ] && to=${to/pcie\//pci\/} [ "$path" = "$to" ] || do_migrate_radio "$config" "$path" "$to" }