From dcbb6dc81171ad0f71c1b81e193a8887edad3ce2 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 5 Feb 2013 21:04:30 -0600 Subject: [PATCH] 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. --- src/mm-iface-modem-cdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mm-iface-modem-cdma.c b/src/mm-iface-modem-cdma.c index 218530b7..4a692d27 100644 --- a/src/mm-iface-modem-cdma.c +++ b/src/mm-iface-modem-cdma.c @@ -544,9 +544,9 @@ get_hdr_state_ready (MMIfaceModemCdma *self, if (!MM_IFACE_MODEM_CDMA_GET_INTERFACE (self)->get_hdr_state_finish ( self, res, + &ctx->hdr_hybrid_mode, &ctx->hdr_session_state, &ctx->hdr_almp_state, - &ctx->hdr_hybrid_mode, &error)) { mm_dbg ("Could not get HDR state: %s", error->message); g_error_free (error);