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