aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl/patches/015-support-probe-of-wds-interfaces.patch
blob: f44921a9547cdcf056a40134f88ff17814be3a66 (plain)
1
2
3
4
5
6
7
8
9
10
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 */