diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2020-11-05 11:05:41 -0500 |
---|---|---|
committer | Loic Poulain <loic.poulain@linaro.org> | 2020-11-05 11:05:41 -0500 |
commit | c8682b22567a1757cb68d861659a32ffc6d0ed63 (patch) | |
tree | 3a371d0d165290e6401489a655bf6e2e67c188b9 | |
parent | 0fd482afedf2ef43d8ae792bd9783cf6f718b1d8 (diff) |
Fix QMI WDS client check
Carlo reported that issue, just fixing it!
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
-rw-r--r-- | mhi-qmi-connect.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mhi-qmi-connect.c b/mhi-qmi-connect.c index 4c72326..4e4c5d1 100644 --- a/mhi-qmi-connect.c +++ b/mhi-qmi-connect.c @@ -453,9 +453,9 @@ static void allocate_wds_client_ready(QmiDevice *dev, GAsyncResult *res) GError *error = NULL; client_wds = (QmiClientWds *)qmi_device_allocate_client_finish(dev, res, &error); - if (!client_wda) { - g_printerr ("error: couldn't create client for the '%s' service: %s\n", - "WDA", error->message); + if (!client_wds) { + g_printerr("error: couldn't create client for the '%s' service: %s\n", + "WDS", error->message); release_qmi_clients(); return; } @@ -626,7 +626,7 @@ static void allocate_uim_client_ready(QmiDevice *dev, GAsyncResult *res) client_uim = (QmiClientUim *)qmi_device_allocate_client_finish(dev, res, &error); if (!client_uim) { g_printerr ("error: couldn't create client for the '%s' service: %s\n", - "WDA", error->message); + "UIM", error->message); release_qmi_clients(); return; } |