diff options
author | Dan Williams <dcbw@redhat.com> | 2009-11-30 09:47:39 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-11-30 09:47:39 -0800 |
commit | f205c814b58d37b3865c42e7f8b5112ce0f78aa0 (patch) | |
tree | c4d91ad31a63c077993354e8b414cc4796dd0e9a /plugins | |
parent | d06f8f46c68bd561b349f2db78d3caca531d3a4f (diff) |
hso: ensure authentication works again after auth errors
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mm-modem-hso.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mm-modem-hso.c b/plugins/mm-modem-hso.c index 089f8371..a2e3b408 100644 --- a/plugins/mm-modem-hso.c +++ b/plugins/mm-modem-hso.c @@ -218,6 +218,9 @@ auth_done (MMSerialPort *port, /* Try the next auth command */ _internal_hso_modem_authenticate (self, info); } else { + /* Reset to 0 so that something gets tried for the next connection */ + priv->auth_idx = 0; + info->error = g_error_copy (error); mm_callback_info_schedule (info); } |