11 config_get path
${section} path
13 "pci0000:01/0000:01:00.0")
19 path
="pci0000:00/0000:00:00.0"
27 "platform/ahb/ahb:apb/18100000.wmac"|\
28 "platform/ar933x_wmac"|\
29 "platform/ar934x_wmac"|\
30 "platform/qca953x_wmac"|\
31 "platform/qca955x_wmac"|\
32 "platform/qca956x_wmac")
33 path
="platform/ahb/18100000.wmac"
41 uci
set wireless.
${section}.path
=${path}
44 [ "${ACTION}" = "add" ] && {
45 [ ! -e /etc
/config
/wireless
] && return 0
48 config_foreach migrate_wifi_path wifi-device
50 [ "${WIFI_PATH_CHANGED}" = "1" ] && uci commit wireless