Re: [gisi-notify-fix PATCH 4/4] isimodem: fix crash in gprs
Hi Pekka, 2011/1/12 pekka.pe...@nokia.com: From: Pekka Pessi pekka.pe...@nokia.com There was a crash if gprs was removed while creating context. --- drivers/isimodem/gprs.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Patch was pushed, thanks. Cheers, Aki ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
[gisi-notify-fix PATCH 4/4] isimodem: fix crash in gprs
From: Pekka Pessi pekka.pe...@nokia.com There was a crash if gprs was removed while creating context. --- drivers/isimodem/gprs.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/isimodem/gprs.c b/drivers/isimodem/gprs.c index e614ac9..1550f24 100644 --- a/drivers/isimodem/gprs.c +++ b/drivers/isimodem/gprs.c @@ -199,6 +199,9 @@ static void info_pp_read_resp_cb(const GIsiMessage *msg, void *opaque) uint8_t count = GPDS_MAX_CONTEXT_COUNT; GIsiSubBlockIter iter; + if (g_isi_msg_error(msg) == -ESHUTDOWN) + return; + if (g_isi_msg_error(msg) 0) goto out; -- 1.7.1 ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono