aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-08-31 10:04:37 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-31 10:04:37 +0200
commitf53e53ba3738f3d24465ea577781b6c3ed6f6083 (patch)
treeb67f6a553a84f733c5c1217baa6b4d29ca210e14
parent04d50e2db7a4bae2b21112faadf5f23176663d1d (diff)
novatel: fix checking ERI for roaming/home decision
This is a port to git master of the following commit: commit c21e29c50b5661308fb3b223c05f6942c06dc15d Author: Dan Williams <dcbw@redhat.com> Date: Fri Aug 24 13:31:04 2012 -0500 novatel: fix checking ERI for roaming/home decision More fallout from b22b2d99db57e4cec8e6c3074dd20acd6845cb62 which changed the return type of the qcdm_result_get_*() functions.
-rw-r--r--plugins/novatel/mm-broadband-modem-novatel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/novatel/mm-broadband-modem-novatel.c b/plugins/novatel/mm-broadband-modem-novatel.c
index d18a39d8..0191a9f3 100644
--- a/plugins/novatel/mm-broadband-modem-novatel.c
+++ b/plugins/novatel/mm-broadband-modem-novatel.c
@@ -611,7 +611,7 @@ parse_modem_snapshot (DetailedRegistrationStateContext *ctx,
guint8 eri = 0;
/* Roaming? */
- if (qcdm_result_get_u8 (result, QCDM_CMD_NW_SUBSYS_MODEM_SNAPSHOT_CDMA_ITEM_ERI, &eri)) {
+ if (qcdm_result_get_u8 (result, QCDM_CMD_NW_SUBSYS_MODEM_SNAPSHOT_CDMA_ITEM_ERI, &eri) == 0) {
gchar *str;
gboolean roaming = FALSE;