summaryrefslogtreecommitdiff
path: root/include/device.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-09-15 17:42:06 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-09-20 15:14:16 +0200
commitc818549e6ed14df4ae83ec120fe0731ed2b6ea19 (patch)
treed3af207e4cc8155976f0c97535649e4029e94482 /include/device.h
parentcbb031b7308e800149f76537fc7ccbd1a40a0735 (diff)
downloadconnman-c818549e6ed14df4ae83ec120fe0731ed2b6ea19.tar.gz
connman-c818549e6ed14df4ae83ec120fe0731ed2b6ea19.tar.bz2
connman-c818549e6ed14df4ae83ec120fe0731ed2b6ea19.zip
Prioritize wifi plugins
The legacy one as the default wifi plugin.
Diffstat (limited to 'include/device.h')
-rw-r--r--include/device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h
index a5ed412e..f80969b4 100644
--- a/include/device.h
+++ b/include/device.h
@@ -52,6 +52,10 @@ enum connman_device_mode {
CONNMAN_DEVICE_MODE_NETWORK_MULTIPLE = 2,
};
+#define CONNMAN_DEVICE_PRIORITY_LOW -100
+#define CONNMAN_DEVICE_PRIORITY_DEFAULT 0
+#define CONNMAN_DEVICE_PRIORITY_HIGH 100
+
struct connman_device;
struct connman_device *connman_device_create(const char *node,