Commit Graph

36 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
Denis Kenzior 56d315f2dd mbmmodem: Fix not setting IPv4 Gateway 2011-06-12 17:47:48 -05:00
Mika Liljeberg ba9bf3e893 mbmmodem: update to new gprs context interface 2011-03-15 17:11:58 -05: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
Marcel Holtmann 9c476f1f0a mbmmodem: Print IP details after GPRS context setup 2010-10-27 14:55:13 +02:00
Marcel Holtmann c7d09b7218 mbmmodem: Remove some pointless debug prefix strings 2010-10-27 13:28:55 +02:00
Marcel Holtmann 3c2d59978b mbmmodem: Add some more GPRS context debug statements 2010-10-27 01:40:25 +02:00
Marcel Holtmann a9ad547535 mbmmodem: Check IP address with AT+CGPADDR for older modems 2010-10-24 14:55:50 +02:00
Marcel Holtmann 208f2ea9c4 mbmmodem: Enable PDP context setup debug notifications 2010-08-20 15:44:45 +02:00
Marcel Holtmann 3251e7e234 mbm: Fix naming of MBM driver for GPRS context handling 2010-08-20 14:12:01 +02:00
Marcel Holtmann e4e215e88b mbmmodem: Remove useless NULL checks before g_free 2010-08-16 22:09:09 +02:00
Denis Kenzior de94bf4082 mbmmodem: Use g_at_chat_clone 2010-08-12 23:40:14 -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 bfeef21a9d Fix: Send *EIAAUW after CGDCONT for STE and MBM
Otherwise the EIAAUW might fail.
2010-02-05 12:20:45 -06:00
Denis Kenzior 37088e19f0 Fix: Use snprintf instead of sprintf in mbmmodem 2010-02-05 12:01:45 -06:00
Denis Kenzior 9bed04ca2f Style: Trailing whitespace & extra lines 2010-01-12 17:54:37 -06:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior 6cb038fafb Style: Repeat for drivers 2009-12-17 21:45:40 -06:00
Martin Xu c44fee2399 Fix: Set netmask for static ip on mbm 2009-12-16 13:20:26 -06:00
Denis Kenzior fc030de2ec Fix: Make sure to never overflow DNS variable 2009-12-01 20:38:26 -06:00
Denis Kenzior 8cd0990c66 Fix: Poll ENAP on older mbm hardware 2009-12-01 19:38:44 -06:00
Denis Kenzior 6389552fd5 Style: Fix whitespace 2009-12-01 17:36:48 -06:00
Denis Kenzior 3a189b1973 Fix: Fix parsing in MBM 2009-12-01 17:35:30 -06:00
Denis Kenzior ab9e02bb30 Add experimental support for E2IPCFG 2009-12-01 17:25:20 -06:00
Denis Kenzior b96e33b692 Fix: Add username/password support to mbm context 2009-12-01 16:08:12 -06:00
Denis Kenzior 184eb91aa6 Fix: Make sure we don't overflow the buffer 2009-12-01 16:05:20 -06:00
Denis Kenzior 55572b6e69 Style: Use unsigned int instead of unsigned 2009-12-01 12:42:23 -06:00
Denis Kenzior 62e22e383c Update the MBM modem driver to the new API 2009-11-17 18:55:07 -06:00
Denis Kenzior 1af138d6ec Fix: Register for E2NAP notifications 2009-10-24 12:39:31 -05:00
Denis Kenzior 1a80f85994 Fix: ENAP=0 is the only way to use this 2009-10-24 12:39:31 -05:00
Denis Kenzior a66de6880a Add initial implementation of MBM gprs context 2009-10-23 17:05:56 -05:00