mirror of git://git.sysmocom.de/ofono
call gprs_detached_notify
This commit is contained in:
parent
a826ee1134
commit
5326d5d19d
|
@ -2544,6 +2544,9 @@ void ofono_gprs_status_notify(struct ofono_gprs *gprs, int status)
|
|||
|
||||
gprs->status = status;
|
||||
|
||||
if (status == 0)
|
||||
ofono_gprs_detached_notify(gprs);
|
||||
|
||||
if (status != NETWORK_REGISTRATION_STATUS_REGISTERED &&
|
||||
status != NETWORK_REGISTRATION_STATUS_ROAMING) {
|
||||
gprs_attached_update(gprs);
|
||||
|
|
Loading…
Reference in New Issue