hso: ensure authentication works again after auth errors

This commit is contained in:
Dan Williams
2009-11-30 09:47:39 -08:00
parent d06f8f46c6
commit f205c814b5

View File

@@ -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);
}