aboutsummaryrefslogtreecommitdiff
path: root/src/mm-callback-info.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-03-04 19:30:54 -0800
committerDan Williams <dcbw@redhat.com>2010-03-04 19:30:54 -0800
commit407abc65c6ccd802ce8456e5a63e68fab1c7d0a1 (patch)
treefb84c16b5c2940f29dce32bbb577f773273f2058 /src/mm-callback-info.c
parent021ca1244e2be8afcf6bdb552866263dc20c9285 (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/mm-callback-info.c')
0 files changed, 0 insertions, 0 deletions