diff options
author | Dan Williams <dcbw@redhat.com> | 2010-03-04 19:30:54 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-03-04 19:30:54 -0800 |
commit | 407abc65c6ccd802ce8456e5a63e68fab1c7d0a1 (patch) | |
tree | fb84c16b5c2940f29dce32bbb577f773273f2058 /src/tests/test-modem-helpers.c | |
parent | 021ca1244e2be8afcf6bdb552866263dc20c9285 (diff) |
gsm: handle PINs better during modem enable and simple state machine
First, short-circuit the Enable process if the device requires a PIN
or PUK since for many devices the enable is going to fail anyway
until the PIN is sent.
Second, send the PIN first during the simple state machine for the
same reason; we need the device unlocked before we want to try
to enable it. This also reworks the simple state machine to be a
bit clearer and make each state step correspond to the action it's
actually doing instead of being off-by-one visually (but not logically).
Diffstat (limited to 'src/tests/test-modem-helpers.c')
0 files changed, 0 insertions, 0 deletions