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
Mingli Wu
911eeb6565
atmodem: remove pending idle callbacks at removal
...
If device probe and removal happen in short succession, it's possible
that the idle handler registered in the probe function doesn't run before
the device is removed. In this case, the idle handler needs to be
unregistered so that it does not run and try to access the data that's
destroyed during the removal.
2012-12-04 23:48:14 -06:00
Marcel Holtmann
4e77afffb3
drivers: Update copyright information
2011-10-10 13:39:48 -07:00
Jeevaka Badrappan
4258fb5915
atmodem: remove NULL check
2011-01-29 18:39:37 +01:00
Lucas De Marchi
700550e2f3
atmodem: add cdip to call-settings
2011-01-18 16:09:27 -06:00
Rémi Denis-Courmont
bcfd049853
atmodem: fix +COLR parsing
...
AT+COLR does not have a local presentation mode and thus it cannot be
factored with the other commands.
This partially reverts commit f2baa88d75
.
2011-01-13 10:31:54 -06:00
Jeevaka Badrappan
b97676acc3
atmodem: M15 coding style fix
2011-01-12 08:06:58 -08:00
Denis Kenzior
f2baa88d75
atmodem: Unify COLR/CNAP/CLIP/COLP parser
2010-12-16 18:40:19 -06:00
Denis Kenzior
f46e0fb73b
atmodem: Fix parsing of CNAP status
2010-12-16 18:40:18 -06:00
Gustavo F. Padovan
b01d8f5bf7
atmodem: add CNAP to call-settings
2010-12-16 18:40:18 -06:00
Gustavo F. Padovan
8dec9a989b
atmodem: cleanup DBG messages
2010-12-10 12:58:12 -06: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
7cde43b4b6
call-settings: Add support for +COLR in atmodem
2010-11-22 16:48:45 -06:00
Marcel Holtmann
a8d3e7433a
atmodem: Remove useless NULL checks before g_free
2010-08-16 22:02:01 +02:00
Denis Kenzior
ac524be99f
atmodem: Use g_at_chat_clone
2010-08-12 16:40:40 -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
7f9a9b0cdc
Fix: Don't use ofono_debug directly in plugins
2010-02-08 12:09:01 -06:00
Denis Kenzior
1721f81fe9
Fix: Use snprintf instead of sprintf in atmodem
2010-02-05 11:59:24 -06:00
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Denis Kenzior
cbb36acee8
Rework DECLARE_FAILURE to be a bit nicer
2009-09-11 12:39:56 -05:00
Denis Kenzior
4c5791a500
Rename at.h to atmodem.h
2009-09-04 20:37:49 -05:00
Denis Kenzior
a613105f91
Rename generic_at drivers to atmodem
...
Be more consistent with directory naming
2009-09-01 22:33:05 -05:00
Denis Kenzior
9caa606bcc
Make remove functions not return anything
2009-09-01 22:27:08 -05:00
Denis Kenzior
422df0edfb
change int vendor to unsigned int vendor
2009-09-01 21:39:02 -05:00
Denis Kenzior
933f803967
Add vendor flag to call-settings
2009-09-01 18:14:58 -05:00
Denis Kenzior
8c92e3dd18
Remove modem member from cb_data
2009-08-19 18:35:08 -05:00
Denis Kenzior
62ed98da66
Update at call settings driver to new API
2009-08-14 11:19:10 -05:00
Denis Kenzior
cb75833fc8
Rename ofono_modem_userdata
2009-07-29 16:44:16 -05:00
Denis Kenzior
699752eaf1
Squash CallWaiting onto CallSettings interface
...
The CallWaiting interface had one settable attribute after the latest
set of refactoring. Squash it onto the CallSettings interface where
it belonged in the first place
2009-05-28 18:28:40 -05:00
Denis Kenzior
6d486b7fe1
Add initial implementation of AT modem driver
2009-05-10 23:40:24 -07:00