call gprs_detached_notify

This commit is contained in:
Alexander Couzens 2017-08-22 13:47:48 +02:00
parent 5071dab4c2
commit 571b01059c
1 changed files with 3 additions and 0 deletions

View File

@ -2601,6 +2601,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);