summaryrefslogtreecommitdiff
path: root/introspection/nm-device-wifi.xml
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-01-31 10:40:38 -0500
committerDan Winship <danw@gnome.org>2013-02-11 12:39:28 -0500
commitfc700e9213ef8f7725f2c935d5e0fd681bfaec31 (patch)
tree4a614e39d29e560c7cb140f154062d8b526367c2 /introspection/nm-device-wifi.xml
parentdf796527a44ba9ca4e267afa26e242c6d2b9dec8 (diff)
downloadNetworkManager-fc700e9213ef8f7725f2c935d5e0fd681bfaec31.tar.gz
core: add NM_WIFI_DEVICE_CAP_ADHOC
Some wireless devices don't support Ad-Hoc mode. Expose this fact in the wireless capabilities so that clients can disable the hot-spot option if neither CAP_ADHOC nor CAP_AP is available. https://bugzilla.gnome.org/show_bug.cgi?id=692869
Diffstat (limited to 'introspection/nm-device-wifi.xml')
-rw-r--r--introspection/nm-device-wifi.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/introspection/nm-device-wifi.xml b/introspection/nm-device-wifi.xml
index f8eddd7039..dcfa20ccb9 100644
--- a/introspection/nm-device-wifi.xml
+++ b/introspection/nm-device-wifi.xml
@@ -122,6 +122,9 @@
<tp:flag suffix="AP" value="0x40">
<tp:docstring>The device supports Access Point mode.</tp:docstring>
</tp:flag>
+ <tp:flag suffix="ADHOC" value="0x80">
+ <tp:docstring>The device supports Ad-Hoc mode.</tp:docstring>
+ </tp:flag>
</tp:flags>
</interface>
</node>