aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-11-11 22:04:53 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-11-11 22:04:53 +0000
commit753d52c2a48bc464795f67614bfceac8d05dd257 (patch)
treea94d4098b425053bdf6a3678bbd1af1eb2b2adf7
parent697f4a19e52cea8fbd17c8b764a352aab28ba9e1 (diff)
downloadupstream-753d52c2a48bc464795f67614bfceac8d05dd257.tar.gz
upstream-753d52c2a48bc464795f67614bfceac8d05dd257.tar.bz2
upstream-753d52c2a48bc464795f67614bfceac8d05dd257.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> SVN-Revision: 38763
-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 */