mirror of git://git.sysmocom.de/ofono
isimodem: fix crash in gprs
There was a crash if gprs was removed while creating context.
This commit is contained in:
parent
321bd16eb1
commit
fef6de49af
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue