2
0
forked from Ivasoft/openwrt

broadcom-wl: change interface names

'netifd' treats all devices with a "." in their name as vlan devices.
Modify the name of virtual/WDS interfaces created by broadcom-wl to use
a "-" instead of a ".", so they will be treated as simple devices
by 'netifd'.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38748
This commit is contained in:
Hauke Mehrtens
2013-11-11 21:57:26 +00:00
parent c36d24ec82
commit cac4ccca2f
3 changed files with 14 additions and 3 deletions

View File

@@ -56,6 +56,6 @@ setup_broadcom_wds() {
case "$ACTION" in
add|register)
[ "${INTERFACE%%0.*}" = wds ] && setup_broadcom_wds "$INTERFACE"
[ "${INTERFACE%%0-*}" = wds ] && setup_broadcom_wds "$INTERFACE"
;;
esac