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:
@@ -1815,6 +1815,7 @@ get_registration_state (MMModemCdma *modem,
|
|||||||
mm_callback_info_schedule (info);
|
mm_callback_info_schedule (info);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
g_clear_error (&info->error);
|
||||||
|
|
||||||
/* Use QCDM for Call Manager state or HDR state before trying CAD, since
|
/* 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
|
* CAD doesn't always reflect the state of the HDR radio's registration
|
||||||
|
Reference in New Issue
Block a user