summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-08 10:39:33 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-08 10:39:33 +0200
commitab43bccdf4f418f4a1d6d0ea5327e590388c0a7d (patch)
tree212e4a788088200c457e3f441b56b4d7b16029ca
parentb165e39a9e30787ccddb592f22c3aa5bd4af6a55 (diff)
wds: remove `QmiWdsAuthenticationPreference'
Use the more generic `QmiWdsAuthentication' flags instead, which match properly.
-rw-r--r--data/qmi-service-wds.json2
-rw-r--r--libqmi-glib/qmi-enums-wds.h12
2 files changed, 1 insertions, 13 deletions
diff --git a/data/qmi-service-wds.json b/data/qmi-service-wds.json
index 7c0f0ee..6b15f95 100644
--- a/data/qmi-service-wds.json
+++ b/data/qmi-service-wds.json
@@ -61,7 +61,7 @@
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
- "public-format" : "QmiWdsAuthenticationPreference" },
+ "public-format" : "QmiWdsAuthentication" },
{ "name" : "Username",
"id" : "0x17",
"mandatory" : "no",
diff --git a/libqmi-glib/qmi-enums-wds.h b/libqmi-glib/qmi-enums-wds.h
index f5bffc9..a5e8129 100644
--- a/libqmi-glib/qmi-enums-wds.h
+++ b/libqmi-glib/qmi-enums-wds.h
@@ -29,18 +29,6 @@
/* Helper enums for the 'QMI WDS Start Network' message */
/**
- * QmiWdsAuthenticationPreference:
- * @QMI_WDS_AUTHENTICATION_PREFERENCE_ALLOW_PAP: PAP authentication may be performed.
- * @QMI_WDS_AUTHENTICATION_PREFERENCE_ALLOW_CHAP: CHAP authentication may be performed.
- *
- * Type of authentication that may be performed by the device
- */
-typedef enum {
- QMI_WDS_AUTHENTICATION_PREFERENCE_ALLOW_PAP = 1 << 0,
- QMI_WDS_AUTHENTICATION_PREFERENCE_ALLOW_CHAP = 1 << 1
-} QmiWdsAuthenticationPreference;
-
-/**
* QmiWdsIpFamily:
* @QMI_WDS_IP_FAMILY_IPV4: IPv4.
* @QMI_WDS_IP_FAMILY_IPV6: IPv6.