aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-03-26 12:57:00 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-03-26 12:57:00 +0200
commit770511f44937d9ca697ef014439380556f4dab90 (patch)
treee15cb8e269f0a6d8a95dcc566ce27e7e4278bee5
parent5191dd3d9e1c20cc27bdce9ff1502b15c1c7e042 (diff)
hso: fix segfault in bearer status update handling
-rw-r--r--plugins/option/mm-broadband-bearer-hso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/option/mm-broadband-bearer-hso.c b/plugins/option/mm-broadband-bearer-hso.c
index f263bccb..13b40cd7 100644
--- a/plugins/option/mm-broadband-bearer-hso.c
+++ b/plugins/option/mm-broadband-bearer-hso.c
@@ -374,7 +374,7 @@ mm_broadband_bearer_hso_report_connection_status (MMBroadbandBearerHso *self,
return;
case MM_BROADBAND_BEARER_HSO_CONNECTION_STATUS_DISCONNECTED:
- if (!ctx) {
+ if (ctx) {
g_simple_async_result_set_error (ctx->result,
MM_CORE_ERROR,
MM_CORE_ERROR_FAILED,