aboutsummaryrefslogtreecommitdiff
path: root/src/mm-error-helpers.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2012-11-05 16:29:30 -0600
committerDan Williams <dcbw@redhat.com>2012-11-05 16:30:33 -0600
commit11db2ea38093bc8d1bb1424cfca84abf3b66185c (patch)
tree599e91340c64b546d4a9b43f42f8acd680aeb091 /src/mm-error-helpers.c
parent5a16f2aff10660bdf279a5ebbd0138f6aea6480a (diff)
sierra: fix CFUN power up delay handling
All Sierra devices appear to require short delay after powering up, otherwise subsequent commands may return errors. Older devices need longer so ensure new devices are penalized just for being new. This is the port to git master of the following commit, for which we don't need to do #2: commit 814febe1fd9baacdb33c79f11c140187df36c4f1 Author: Dan Williams <dcbw@redhat.com> Date: Tue Oct 30 16:16:25 2012 -0500 sierra: fix CFUN power up delay handling 1) all Sierra devices appear to require short delay after powering up, otherwise subsequent commands may return errors. Older devices need longer so ensure new devices are penalized just for being new. 2) When the modem is already in full functionality status and no power up command was sent, there's no need to delay, which was happening regardless of what state the modem was already in. Detect whether the power up was actually executed (response and error will be NULL) and only delay if it was executed.
Diffstat (limited to 'src/mm-error-helpers.c')
0 files changed, 0 insertions, 0 deletions