aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-04-26 15:08:27 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-07-03 16:08:49 +0200
commit13c12cde7f0b3bf16b2bcfdc213d26a393a37635 (patch)
treec2ed16dfaff4c47fb79a96b0341f5d7c796b4f7c
parent9edf521adb6e6049b41225ceeb755cad59153c5d (diff)
downloadexternal_libqmi-13c12cde7f0b3bf16b2bcfdc213d26a393a37635.zip
external_libqmi-13c12cde7f0b3bf16b2bcfdc213d26a393a37635.tar.gz
external_libqmi-13c12cde7f0b3bf16b2bcfdc213d26a393a37635.tar.bz2
device: let the `QmiDevice' allocate new `QmiClientWds' objects
-rw-r--r--src/qmi-device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qmi-device.c b/src/qmi-device.c
index b4edbce..ae7ca41 100644
--- a/src/qmi-device.c
+++ b/src/qmi-device.c
@@ -31,6 +31,7 @@
#include "qmi-message.h"
#include "qmi-client-ctl.h"
#include "qmi-client-dms.h"
+#include "qmi-client-wds.h"
#include "qmi-utils.h"
#include "qmi-error-types.h"
#include "qmi-enum-types.h"
@@ -534,6 +535,10 @@ qmi_device_allocate_client (QmiDevice *self,
ctx->client_type = QMI_TYPE_CLIENT_DMS;
break;
+ case QMI_SERVICE_WDS:
+ ctx->client_type = QMI_TYPE_CLIENT_WDS;
+ break;
+
default:
g_simple_async_result_set_error (ctx->result,
QMI_CORE_ERROR,