summaryrefslogtreecommitdiff
path: root/package/kernel/broadcom-wl/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/broadcom-wl/files')
-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 4e56d21acf..35c4218e03 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-1]-*}" = wds ] && setup_broadcom_wds "$INTERFACE"
;;
esac