diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-10-24 17:14:16 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-10-24 17:14:16 +0200 |
commit | 3342af770aeaec51735a68c2bebd074d008868ff (patch) | |
tree | 598321d99caaae167947ddf5e3a0cda535c7b09f /src/util.c | |
parent | 9bebe654e3ae2236b73468cfc10300a6e2487984 (diff) | |
download | ofono-3342af770aeaec51735a68c2bebd074d008868ff.tar.bz2 |
gprs: Handle failure of GPRS context atom drivers
The GRPS context atom drivers can return an error from their probe
callbacks. In that case gc->driver is NULL and will cause a crash
when trying to activate a context. So check that there is actually
a driver attached to that GPRS context.
Diffstat (limited to 'src/util.c')
0 files changed, 0 insertions, 0 deletions