diff options
author | Dan Williams <dcbw@redhat.com> | 2010-05-07 13:36:56 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-05-07 13:36:56 -0700 |
commit | d0d847c65a7073ecdced95b69548bf97c7af14f6 (patch) | |
tree | 0d7580fbbbabb08e999c6adef64a3eb33d72de06 /src/mm-options.c | |
parent | 0f6f381e87f81fca3e9808a1fbdfbdbe2fea42e0 (diff) |
gsm: try PDP context deactivation on the second port first
There are some cases where flashing the primary port doesn't work
either due to stupid modem firmware or crappy kernel drivers. So
if we have a secondary port, try sending the PDP deactivation
command to the secondary port first, and if that fails send it
to the primary port after the primary port gets flashed. This
increases the chances that the +CGACT request will be successful.
Some modems (Huawei, ZTE) don't like +CGACT on the secondary port,
but when that fails, the code falls back to previous behavior of
flashing and sending CGACT to the primary port.
Diffstat (limited to 'src/mm-options.c')
0 files changed, 0 insertions, 0 deletions