Commit Graph

6 Commits

Author SHA1 Message Date
Jonas Bonn 67701b1c40 drivers: constify vtables
The driver vtables are read-only structures.  This patch declares them as
'const' allowing the compiler to (optionally) put them in the RELRO
section.  RELRO pages may be marked as read-only by the linker after
the relocations have been done ensuring that they aren't inadvertently
or maliciously altered at runtime.
2018-10-17 09:56:27 -05:00
Marcel Holtmann 4e77afffb3 drivers: Update copyright information 2011-10-10 13:39:48 -07:00
Marcel Holtmann 14806ba527 mbmmodem: Set baud rate to 115200 for GPS interface 2011-07-29 20:50:37 +02:00
Lucas De Marchi 86998818b7 mbmmodem: do not check for NULL pointer
cb_data_new() uses g_new0(), hence there's no need to check the return
value being NULL.
2011-03-04 05:13:51 -08:00
Lucas De Marchi 843d18ceae mbmmodem: don't let chat open after fd is sent
Instead of using a GAtChat, just use a GIOChannel and close it as soon
as its fd is sent to core.
2011-03-03 21:56:35 -06:00
Rafael Ignacio Zurita 20f7f90221 mbmmodem: add location-reporting driver 2011-02-23 17:19:08 -06:00