Commit Graph

29 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
Giacinto Cifelli bd6f807849 drivers: support for auth NONE
Added the explicit support for auth NONE.
It needs to be added in all drivers/*/gprs-context.c atoms.

This method is already supported by all atoms that support
authentication (ie, all but Sierra' swmodem driver).

The behavior is left unchanged in case of inconsistent parameters:
if username is empty, then fallback to auth NONE.
2018-10-09 12:35:44 -05:00
Marcel Holtmann 4e77afffb3 drivers: Update copyright information 2011-10-10 13:39:48 -07:00
Mika Liljeberg c9a5b5143c isimodem: remove atoms that fail to probe 2011-03-31 10:22:22 -05:00
Mika Liljeberg cf334808be isimodem: IPv6 support 2011-03-15 17:11:58 -05:00
Aki Niemi bb473dbef7 isimodem: Refactor and fix GPRS alignment 2011-03-03 17:43:29 +02:00
Aki Niemi 5c84a23515 isimodem: Refactor gprs-context driver
Use stack allocation for padding, and simplify message sending and
failure handling.
2011-02-18 16:17:14 +02:00
Jessica Nilsson 2141228651 isimodem: Context driver updates for wgmodem2.5 2011-02-18 16:17:14 +02:00
Jeevaka Badrappan 9af25bceac isimodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Pekka Pessi e0b6a058a2 isimodem: use simplified client interface 2011-01-07 13:39:18 +02:00
Pekka Pessi e130d21be9 isimodem: fix style issues 2011-01-07 13:32:27 +02:00
Mika Liljeberg ae27b69769 isimodem: fix GPRS context removal 2010-12-22 17:13:48 +02:00
Aki Niemi 98074fdb60 isimodem: Always compare to NULL explicitly 2010-12-22 17:13:48 +02:00
Mika Liljeberg 1272da9bb2 isimodem: improve GPRS timeouts 2010-12-22 17:13:48 +02:00
Mika Liljeberg b08f5b9e3b isimodem: revector GPRS driver to new gisi API 2010-12-22 17:13:48 +02: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 5a1bd2c352 isimodem: Get rid of whitespace corruption 2010-11-11 09:08:09 -06:00
Aki Niemi b2faaa1058 isimodem: Fix style issues in gprs-context.c 2010-11-11 10:11:24 +02:00
Mika Liljeberg a4deaffa58 isimodem: revector GPRS context driver 2010-11-11 09:25:08 +02:00
Aki Niemi 255782f8c2 isimodem: Fix request cleanup code
Adds a check for when the driver is being removed, in which case no
new ISI requests should be generated.
2010-10-19 15:06:35 +03:00
Aki Niemi 297b14ca8b isimodem: Fix copyright and license boilerplate 2010-10-14 15:22:16 +03: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
Aki Niemi 76fce49e49 Remove unnecessary alignment to 32bit boundary 2010-08-30 17:54:36 +03:00
Marcel Holtmann 3d19a00cd7 Fix GPRS context IP configuration issue with ISI modems 2010-08-10 16:09:38 -04:00
Pekka Pessi 654c0ef73b Eliminated bool, true and false from isimodem. 2010-05-27 13:41:51 -05:00
Aki Niemi a03d11fec7 Fix style issues in isimodem 2010-04-27 23:21:48 +03:00
Aki Niemi 8b61fde2fb Add user authentication to gprs context driver 2010-04-20 17:47:17 +03:00
Aki Niemi 144b30ac6d Add isimodem gprs context driver 2010-04-20 14:16:26 +03:00