aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-11-11 22:04:53 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-11-11 22:04:53 +0000
commit1da00ae3cd9270cbbbd4fa4c14ab56cb0fbd5773 (patch)
treea63ededf50c6f08293464ac721166e926310501f
parentcb7afcc906ed1e44dfb594e377bcde0009e45dd2 (diff)
downloadmaster-187ad058-1da00ae3cd9270cbbbd4fa4c14ab56cb0fbd5773.tar.gz
master-187ad058-1da00ae3cd9270cbbbd4fa4c14ab56cb0fbd5773.tar.bz2
master-187ad058-1da00ae3cd9270cbbbd4fa4c14ab56cb0fbd5773.zip
broadcom-wl: support probe of 'wds' devices
'nas' requires probe of 'wds' devices to be successful; so don't fail them. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38763 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/broadcom-wl/patches/015-support-probe-of-wds-interfaces.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/broadcom-wl/patches/015-support-probe-of-wds-interfaces.patch b/package/kernel/broadcom-wl/patches/015-support-probe-of-wds-interfaces.patch
new file mode 100644
index 0000000000..f44921a954
--- /dev/null
+++ b/package/kernel/broadcom-wl/patches/015-support-probe-of-wds-interfaces.patch
@@ -0,0 +1,11 @@
+--- a/shared/wl.c
++++ b/shared/wl.c
+@@ -27,7 +27,7 @@ wl_probe(char *name)
+ {
+ int ret, val;
+
+- if ((name[0] != 'w') || (name[1] != 'l'))
++ if ((name[0] != 'w') || ((name[1] != 'l') && ((name[1] != 'd') || (name[2] != 's'))))
+ return -1;
+
+ /* Check interface */