aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2016-05-11 16:25:59 -0500
committerDan Williams <dcbw@redhat.com>2016-05-24 09:35:49 -0500
commit830b6ebca8e218efeecd211b7a058366ef26272e (patch)
treeecef06389c39c922e843e4d9fafd0ee5c9a3941b /src/main.c
parente27f4a6226cc7c3293d16e9f57ea37a8aec6b60a (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 'src/main.c')
0 files changed, 0 insertions, 0 deletions