From da933468c81d45fa1eb8a80b926b5fe06876ebef Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 11 Aug 2014 18:31:27 +0200 Subject: huawei: minor style fixes --- plugins/huawei/mm-broadband-modem-huawei.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/huawei/mm-broadband-modem-huawei.c b/plugins/huawei/mm-broadband-modem-huawei.c index 6630043f..400049da 100644 --- a/plugins/huawei/mm-broadband-modem-huawei.c +++ b/plugins/huawei/mm-broadband-modem-huawei.c @@ -3494,6 +3494,7 @@ modem_time_check_support_finish (MMIfaceModemTime *_self, GError **error) { MMBroadbandModemHuawei *self = MM_BROADBAND_MODEM_HUAWEI (_self); + if (self->priv->nwtime_support == FEATURE_SUPPORTED) return TRUE; if (self->priv->time_support == FEATURE_SUPPORTED) @@ -3506,7 +3507,8 @@ modem_time_check_ready (MMBaseModem *self, GAsyncResult *res, GSimpleAsyncResult *simple) { - (void)mm_base_modem_at_sequence_finish (self, res, NULL, NULL); + /* Responses are checked in the sequence parser, ignore overall result */ + mm_base_modem_at_sequence_finish (self, res, NULL, NULL); g_simple_async_result_complete (simple); g_object_unref (simple); } -- cgit v1.2.3-70-g09d2