aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl/files/etc/hotplug.d
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-11-11 21:57:26 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-11-11 21:57:26 +0000
commitcac4ccca2f064a29c640db2eba90b7f8de271a41 (patch)
tree9c6a85bddbf5ae2f2a3ed8e395c2a718a06dab98 /package/kernel/broadcom-wl/files/etc/hotplug.d
parentc36d24ec823fb600bc9eb7ccb53e495c0fea531f (diff)
downloadupstream-cac4ccca2f064a29c640db2eba90b7f8de271a41.tar.gz
upstream-cac4ccca2f064a29c640db2eba90b7f8de271a41.tar.bz2
upstream-cac4ccca2f064a29c640db2eba90b7f8de271a41.zip
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
Diffstat (limited to 'package/kernel/broadcom-wl/files/etc/hotplug.d')
-rw-r--r--package/kernel/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds b/package/kernel/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds
index 0a563c2dbd..4e56d21acf 100644
--- a/package/kernel/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds
+++ b/package/kernel/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds
@@ -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