Merge remote-tracking branch 'oe_21/master' into vuplus-3.0-next
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-connectivity / wvdial / wvdial-1.61 / wvdial-vuplus_001.patch
1 diff --git a/wvmodemscan.cc b/wvmodemscan.cc
2 index de1c34a..17687aa 100644
3 --- a/wvmodemscan.cc
4 +++ b/wvmodemscan.cc
5 @@ -485,6 +485,7 @@ const char *WvModemScan::is_isdn() const
6  
7  static int fileselect(const struct dirent *e)
8  {
9 +#if 0
10      return !strncmp(e->d_name, "ttyS", 4)              // serial
11         || !strncmp(e->d_name, "ttyLT", 5)      // Lucent WinModem
12         || !strncmp(e->d_name, "ttyACM", 6)      // USB acm Modems
13 @@ -493,6 +494,13 @@ static int fileselect(const struct dirent *e)
14         || !strncmp(e->d_name, "ttySL", 5);     // SmartLink WinModem
15  
16         // (no internal ISDN support)   || !strncmp(e->d_name, "ttyI", 4);
17 +#else
18 +    return !strncmp(e->d_name, "ttyLT", 5)      // Lucent WinModem
19 +       || !strncmp(e->d_name, "ttyACM", 6)      // USB acm Modems
20 +       || !strncmp(e->d_name, "ttyUSB", 6)      // Modems on USB RS232
21 +       || !strncmp(e->d_name, "ircomm", 6)      // Handys over IrDA
22 +       || !strncmp(e->d_name, "ttySL", 5);      // SmartLink WinModem
23 +#endif
24  }
25  
26  #if defined(__GLIBC__) && __GLIBC_PREREQ(2, 10)