diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-11-11 22:04:53 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-11-11 22:04:53 +0000 |
commit | 8a075ad05cc0ddc2e63ef429d7a09da4e7a9ec8d (patch) | |
tree | a63ededf50c6f08293464ac721166e926310501f /package/kernel/broadcom-wl/patches/015-support-probe-of-wds-interfaces.patch | |
parent | 16ddac3ea40a027a1c98582cc2ea631ed560a2f6 (diff) |
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
Diffstat (limited to 'package/kernel/broadcom-wl/patches/015-support-probe-of-wds-interfaces.patch')
-rw-r--r-- | package/kernel/broadcom-wl/patches/015-support-probe-of-wds-interfaces.patch | 11 |
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 */ |