summaryrefslogtreecommitdiffstats
path: root/drivers/isimodem/ussd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isimodem/ussd.c')
-rw-r--r--drivers/isimodem/ussd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isimodem/ussd.c b/drivers/isimodem/ussd.c
index e231465d..8baa2438 100644
--- a/drivers/isimodem/ussd.c
+++ b/drivers/isimodem/ussd.c
@@ -188,7 +188,7 @@ static void isi_request(struct ofono_ussd *ussd, int dcs,
goto error;
if (g_isi_client_vsend(ud->client, iov, 2, SS_TIMEOUT,
- ussd_send_resp_cb, cbd, g_free))
+ ussd_send_resp_cb, cbd, g_free) != NULL)
return;
error:
@@ -211,7 +211,7 @@ static void isi_cancel(struct ofono_ussd *ussd,
goto error;
if (g_isi_client_send(ud->client, msg, sizeof(msg), SS_TIMEOUT,
- ussd_send_resp_cb, cbd, g_free))
+ ussd_send_resp_cb, cbd, g_free) != NULL)
return;
error: