iface-modem-cdma: fix handling of HDR registration state

hybrid mode is the first parameter, not the third.  Caused EVDO
to look like it wasn't registered.
This commit is contained in:
Dan Williams
2013-02-05 21:04:30 -06:00
parent 8070627011
commit dcbb6dc811

View File

@@ -544,9 +544,9 @@ get_hdr_state_ready (MMIfaceModemCdma *self,
if (!MM_IFACE_MODEM_CDMA_GET_INTERFACE (self)->get_hdr_state_finish ( if (!MM_IFACE_MODEM_CDMA_GET_INTERFACE (self)->get_hdr_state_finish (
self, self,
res, res,
&ctx->hdr_hybrid_mode,
&ctx->hdr_session_state, &ctx->hdr_session_state,
&ctx->hdr_almp_state, &ctx->hdr_almp_state,
&ctx->hdr_hybrid_mode,
&error)) { &error)) {
mm_dbg ("Could not get HDR state: %s", error->message); mm_dbg ("Could not get HDR state: %s", error->message);
g_error_free (error); g_error_free (error);