Commit Graph

11 Commits

Author SHA1 Message Date
Jonas Bonn 3beeff758d treewide: Remove superfluous use of _GNU_SOURCE
There are a large number of files in the tree that define _GNU_SOURCE
despite not actually using features hidden behind this flag.  This patch
removes all these definitions in one fell swoop...
2018-10-17 10:01:57 -05:00
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
Denis Kenzior 979b244fcf hsomodem: Remove atom if driver fails to init 2012-03-26 16:50:36 -05:00
Marcel Holtmann 4e77afffb3 drivers: Update copyright information 2011-10-10 13:39:48 -07:00
Jeevaka Badrappan 042e470fd7 hsomodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Marcel Holtmann 92e02b4621 hsomodem: Add query for supported frequencies 2011-01-05 23:05:00 -08:00
Lucas De Marchi b82a7f8511 drivers: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 11:37:09 -06:00
Marcel Holtmann 927bdcf87f hsomodem: Fix handling of radio access mode enum 2010-10-27 11:05:59 +02:00
Denis Kenzior bdc9cdaaf6 hsomodem: Fix up radio-settings driver 2010-08-13 14:00:43 -05:00
Denis Kenzior ecc774b0f2 hsomodem: Use g_at_chat_clone 2010-08-12 23:37:52 -05:00
Marcel Holtmann 30b054d0e0 Add support for Option specific radio settings 2010-06-06 15:18:57 -07:00