diff options
author | Dan Williams <dcbw@redhat.com> | 2016-05-11 16:25:59 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2016-05-24 09:35:49 -0500 |
commit | 830b6ebca8e218efeecd211b7a058366ef26272e (patch) | |
tree | ecef06389c39c922e843e4d9fafd0ee5c9a3941b /plugins/simtech/mm-plugin-simtech.c | |
parent | e27f4a6226cc7c3293d16e9f57ea37a8aec6b60a (diff) |
broadband-bearer-icera: deactivate context before authentication
If the modem thinks a PDP context is already active it'll return
583 errors from IPDPCFG and IPDPACT until the context is
deactivated. Deactivation was previously done after authentication,
but needs to be done before any part of the connect process to
ensure the PDP context is inactive.
The previous approach worked only if the context was being
deactivated already (which can take a bit of time) because it would
be deactivated after a few seconds and the connect could continue.
This approach works for more cases (like a MM crash and restart
while the modem is connected).
Diffstat (limited to 'plugins/simtech/mm-plugin-simtech.c')
0 files changed, 0 insertions, 0 deletions