broadcom-wl: support 'wds' interfaces on 'wl1' device
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 11 Nov 2013 22:05:20 +0000 (22:05 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 11 Nov 2013 22:05:20 +0000 (22:05 +0000)
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38764

package/kernel/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds

index 4e56d21acfa4dcdbbdab340919a7c0cf5d2f854a..35c4218e03a966bb7316dada5424eb33d81aaba1 100644 (file)
@@ -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