projects
/
librecmc
/
librecmc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
broadcom-wl: support probe of 'wds' devices
[librecmc/librecmc.git]
/
package
/
kernel
/
broadcom-wl
/
patches
/
015-support-probe-of-wds-interfaces.patch
1
--- a/shared/wl.c
2
+++ b/shared/wl.c
3
@@ -27,7 +27,7 @@ wl_probe(char *name)
4
{
5
int ret, val;
6
7
- if ((name[0] != 'w') || (name[1] != 'l'))
8
+ if ((name[0] != 'w') || ((name[1] != 'l') && ((name[1] != 'd') || (name[2] != 's'))))
9
return -1;
10
11
/* Check interface */