Skip to content

wwan/ofono: handle disconnect while activating connection

Summary

Handle the case where, while we're waiting for oFono to activate a context, the GPRS call become un-attached.

Purpose

If not handled, the device will stuck in prepare state forever, which causes the phone to stay unconnected to mobile data until the user manually toggle data connection off and on at oFono level.

Checklist

Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:

  • the subject for all commits is concise and explicative
  • the message for all commits explains the reason for the change
  • the source is properly formatted
  • any relevant documentation is up to date
  • you have added unit tests if applicable

Merge request reports