hso: fix segfault in bearer status update handling
This commit is contained in:
@@ -374,7 +374,7 @@ mm_broadband_bearer_hso_report_connection_status (MMBroadbandBearerHso *self,
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
case MM_BROADBAND_BEARER_HSO_CONNECTION_STATUS_DISCONNECTED:
|
case MM_BROADBAND_BEARER_HSO_CONNECTION_STATUS_DISCONNECTED:
|
||||||
if (!ctx) {
|
if (ctx) {
|
||||||
g_simple_async_result_set_error (ctx->result,
|
g_simple_async_result_set_error (ctx->result,
|
||||||
MM_CORE_ERROR,
|
MM_CORE_ERROR,
|
||||||
MM_CORE_ERROR_FAILED,
|
MM_CORE_ERROR_FAILED,
|
||||||
|
Reference in New Issue
Block a user