diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-11-11 22:04:53 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-11-11 22:04:53 +0000 |
commit | 1da00ae3cd9270cbbbd4fa4c14ab56cb0fbd5773 (patch) | |
tree | a63ededf50c6f08293464ac721166e926310501f /package/kernel/broadcom-wl | |
parent | cb7afcc906ed1e44dfb594e377bcde0009e45dd2 (diff) | |
download | upstream-1da00ae3cd9270cbbbd4fa4c14ab56cb0fbd5773.tar.gz upstream-1da00ae3cd9270cbbbd4fa4c14ab56cb0fbd5773.tar.bz2 upstream-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
Diffstat (limited to 'package/kernel/broadcom-wl')
-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 */ |