015-support-probe-of-wds-interfaces.patch 268 B

1234567891011
  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. - if ((name[0] != 'w') || (name[1] != 'l'))
  7. + if ((name[0] != 'w') || ((name[1] != 'l') && ((name[1] != 'd') || (name[2] != 's'))))
  8. return -1;
  9. /* Check interface */