aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/mm-modem-hso.c3
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);
}