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
John Ernberg
3f12d06b20
stemodem: Use g_slist_free_full
2016-04-22 15:22:07 -05:00
Marcel Holtmann
4e77afffb3
drivers: Update copyright information
2011-10-10 13:39:48 -07:00
Jeevaka Badrappan
777271a6a6
stemodem: fix memleak when calls are disconnected
2011-02-07 21:57:31 -06:00
Jeevaka Badrappan
fc68ac41f8
stemodem: M16 coding style fix
2011-02-05 07:05:11 -08:00
Jeevaka Badrappan
c70805bdee
stemodem: Use defined call_status enum
2011-02-05 05:09:24 -08:00
Marit Henriksen
49457675a3
stemodem: Check for ok in voicecall_initialize
2011-02-04 09:56:57 -06:00
Marit Henriksen
aad3b22924
stemodem: Fix handling of local_release
...
- Reset local_release when call is disconnected.
- Change bitmap for affected types, ste_hangup is only called when
call state is Incoming, Dialing, Alerting or Active.
- Used macros instead of numbers when creating bitmaps.
2011-02-03 10:19:31 -06:00
Marit Henriksen
c1603c77cc
stemodem: Add handling of ECAV status Released
...
- *ECAV UR code has been extended with a new state Released,
sent immediately when MO call is released.
- Apply rule M11 of coding style.
2011-02-03 10:14:51 -06:00
Lucas De Marchi
4e0f87106a
stemodem: use ofono_call initializer
2011-02-01 18:31:49 +01:00
Jeevaka Badrappan
124a9b1f0a
stemodem: remove NULL check
2011-01-29 18:39:37 +01:00
Jeevaka Badrappan
12c3cf6969
voicecall: remove ofono_cug_option
2011-01-26 16:38:15 -06:00
Marit Henriksen
1fe79aa8a5
stemodem: Return immediately if not voice call.
2011-01-14 14:30:14 +01:00
Marit Henriksen
84e942ace3
stemodem: Use macro for clip validity.
2011-01-14 14:29:38 +01:00
Marit Henriksen
e732452eea
stemodem: Removed defaults in switches.
...
Coding style guidline M12.
2011-01-14 14:29:00 +01:00
Helen Clemson
ed67052411
stemodem: Incorrect string length in dtmf buf.
...
Strlen includes a NULL character.
2011-01-14 14:26:21 +01:00
Helen Clemson
5242716024
stemodem: Fix spelling mistake in error message.
2011-01-14 11:37:55 +01:00
Jeevaka Badrappan
15bf5be1a5
stemodem: M15 coding style fix
2011-01-12 08:06:58 -08:00
Marit Henriksen
42f3134802
stemodem: Fix for MT call not working when caller id is hidden.
...
In *ECAV, the number will not be included if caller id is hidden.
Set it to an empty string in that case, and set number type to
128, unknown number type.
2011-01-04 01:24:26 -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
d66e699a88
stemodem: Some cleanups in voice call driver
2010-09-27 08:09:38 +09:00
Lucas De Marchi
74125ff5d4
Fix common misspellings in drivers
...
Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines
From the list cited above, the substitution script found the following
misspellings:
subsidary(-ies)->subsidiary(-ies)
transfering->transferring
2010-09-14 16:00:16 +09:00
Marcel Holtmann
de221f87fa
stemodem: Remove useless NULL checks before g_free
2010-08-16 22:11:21 +02:00
Denis Kenzior
9a00f06329
stemodem: register should not be called from probe
2010-08-12 23:46:02 -05:00
Denis Kenzior
361773f4d8
stemodem: Use g_at_chat_clone
2010-08-12 23:44:07 -05:00
Sjur Brændeland
dde0a4ccb5
voicecall: Rename hangup to hangup_active
2010-08-12 11:32:12 -05:00
Denis Kenzior
c98b951fe6
Refactor: Remove atutil dump_response
...
No longer needed now that we have nice AT command tracing using
OFONO_AT_DEBUG=1
2010-02-08 12:28:23 -06:00
Denis Kenzior
ced9692361
Fix: Use snprintf instead of sprintf in stemodem
2010-02-05 12:01:13 -06:00
Denis Kenzior
7b2b548d8d
Fix: Update copyright notice for 2010
2010-01-28 15:08:24 -06:00
Denis Kenzior
586003ba52
Style: Various whitespace issues
2010-01-28 15:08:24 -06:00
Sjur Brændeland
ddd5582a54
Add STE voice call support.
2010-01-28 15:08:23 -06:00