diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-11-11 22:04:53 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-11-11 22:04:53 +0000 |
commit | 753d52c2a48bc464795f67614bfceac8d05dd257 (patch) | |
tree | a94d4098b425053bdf6a3678bbd1af1eb2b2adf7 | |
parent | 697f4a19e52cea8fbd17c8b764a352aab28ba9e1 (diff) | |
download | mtk-20170518-753d52c2a48bc464795f67614bfceac8d05dd257.zip mtk-20170518-753d52c2a48bc464795f67614bfceac8d05dd257.tar.gz mtk-20170518-753d52c2a48bc464795f67614bfceac8d05dd257.tar.bz2 |
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.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 0000000..f44921a --- /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 */ |