11 config_get path
${section} path
13 "pci0000:01/0000:01:00.0")
19 path
="pci0000:00/0000:00:00.0"
27 "platform/qca955x_wmac")
28 path
="platform/ahb/ahb:apb/18100000.wmac"
31 "platform/ar933x_wmac")
32 path
="platform/ahb/18100000.wmac"
40 uci
set wireless.
${section}.path
=${path}
43 [ "${ACTION}" = "add" ] && {
44 [ ! -e /etc
/config
/wireless
] && return 0
47 config_foreach migrate_wifi_path wifi-device
49 [ "${WIFI_PATH_CHANGED}" = "1" ] && uci commit wireless