From f205c814b58d37b3865c42e7f8b5112ce0f78aa0 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 30 Nov 2009 09:47:39 -0800 Subject: hso: ensure authentication works again after auth errors --- plugins/mm-modem-hso.c | 3 +++ 1 file changed, 3 insertions(+) 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); } -- cgit v1.2.3-70-g09d2