ofono/drivers/cdmamodem
Matthijs Kooijman 8d690efa83 at/cdma/ifxmodem: Use /dev/net/tun to check for TUN support
Previously, these drivers would check /sys/devices/virtual/misc/tun to
see if TUN is supported, and bail out otherwise. However, the tun module
can sometimes be autoloaded by opening the /dev/net/tun file. In this
case the /dev file already exists, but the /sys file only gets created
after the modul is loaded.

Additionally, the ppp code does not use the /sys file, but only the
/dev file, so checking for the existence of the latter seems a better
indicator of expected success.
2017-08-22 23:24:59 -05:00
..
cdmamodem.c drivers: Some more copyright fixes 2011-10-15 12:21:30 -07:00
cdmamodem.h drivers: Some more copyright fixes 2011-10-15 12:21:30 -07:00
connman.c at/cdma/ifxmodem: Use /dev/net/tun to check for TUN support 2017-08-22 23:24:59 -05:00
devinfo.c drivers: Some more copyright fixes 2011-10-15 12:21:30 -07:00
voicecall.c drivers: Update copyright information 2011-10-10 13:39:48 -07:00