aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-simple.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-05-07 13:36:56 -0700
committerDan Williams <dcbw@redhat.com>2010-05-07 13:36:56 -0700
commitd0d847c65a7073ecdced95b69548bf97c7af14f6 (patch)
tree0d7580fbbbabb08e999c6adef64a3eb33d72de06 /src/mm-modem-simple.c
parent0f6f381e87f81fca3e9808a1fbdfbdbe2fea42e0 (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-modem-simple.c')
0 files changed, 0 insertions, 0 deletions