Commit Graph

22 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
Marcel Holtmann 4e77afffb3 drivers: Update copyright information 2011-10-10 13:39:48 -07:00
Jeevaka Badrappan 3fbf85ed82 mbmmodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan 0df21d68df mbmmodem: M15 coding style fix 2011-01-12 08:06:58 -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
Denis Kenzior 8eb658f5ea mbmmodem: Notify core about handled commands 2010-10-27 12:25:51 -05:00
Marcel Holtmann f6c119ba20 mbmmodem: Add comment about optional response data back 2010-09-26 21:43:57 +09:00
Denis Kenzior 779cc467de mbm: Make stk envelope submission work again 2010-09-26 07:41:06 -05:00
Marcel Holtmann 7bdb923f67 mbmmodem: Add debug for envelope response data 2010-09-24 01:13:01 +09:00
Marcel Holtmann 4749645aaf mbmmodem: Fix small typo 2010-09-24 01:07:03 +09:00
Marcel Holtmann 6a3f1d9b91 mbmmodem: Cleanup of SIM Toolkit support 2010-09-24 01:05:26 +09:00
Denis Kenzior de94bf4082 mbmmodem: Use g_at_chat_clone 2010-08-12 23:40:14 -05:00
Marcel Holtmann 383001b315 Add extra debug statements to MBM STK atom driver 2010-08-11 14:18:44 -04:00
Andrzej Zaborowski 4344c7423f mbmmodem: End session on *STKEND. 2010-07-08 14:27:33 -05:00
Andrzej Zaborowski 713805ae57 mbmmodem: Allow no response data for envelope.
Partially reverts
http://git.kernel.org/?p=network/ofono/ofono.git;a=commitdiff;h=f98c6dc91702c0d14c0afa2a4e32102d3105568d
2010-06-18 14:11:11 -05:00
Marcel Holtmann 6719c0b93f Use PROFILE DOWNLOAD to detect SIM Toolkit support for MBM 2010-06-16 10:38:08 +02:00
Denis Kenzior 0940f27c9a mbm: Simplify STKR callback logic 2010-05-12 13:44:40 -05:00
Denis Kenzior f98c6dc917 mbm: Simplify STKE logic
We shouldn't use CALLBACK_WITH_FAILURE unless we can't parse the
response from the modem.  This most likely indicates an integration
error.
2010-05-12 13:44:31 -05:00
Denis Kenzior 49c5def68b mbm: NULL check on a g_free is not necessary
This is a change from previously accepted practice
2010-05-12 13:43:48 -05:00
Denis Kenzior d6f540eb8f mbm: Few style issues with indentation 2010-05-12 13:43:38 -05:00
Andrzej Zaborowski f0aeb0b037 mbm: Add STK driver. 2010-05-12 13:43:23 -05:00