Skip to content

Commit

Permalink
qmimodem: release WDS service on GPRS atom removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Bonn authored and monich committed Feb 5, 2020
1 parent 9193d06 commit 49d0bbb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ofono/drivers/qmimodem/gprs.c
Expand Up @@ -398,6 +398,9 @@ static void qmi_gprs_remove(struct ofono_gprs *gprs)

ofono_gprs_set_data(gprs, NULL);

qmi_service_unregister_all(data->wds);
qmi_service_unref(data->wds);

qmi_service_unregister_all(data->nas);

qmi_service_unref(data->nas);
Expand Down

0 comments on commit 49d0bbb

Please sign in to comment.