cdma: clear error when getting state if no AT port is available

We don't care about the error if we have a QCDM port.
This commit is contained in:
Dan Williams
2010-10-14 14:00:42 -05:00
parent dd8a061d28
commit 4cdaba3161

View File

@@ -1815,6 +1815,7 @@ get_registration_state (MMModemCdma *modem,
mm_callback_info_schedule (info);
return;
}
g_clear_error (&info->error);
/* Use QCDM for Call Manager state or HDR state before trying CAD, since
* CAD doesn't always reflect the state of the HDR radio's registration