summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorChen Ganir <chen.ganir@ti.com>2012-03-19 16:57:53 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-03-26 12:12:24 +0300
commitafb04979ee7b986f9351ca19565d3b0d7ac4c181 (patch)
treeed767eaa3cbaf39a826fc5074cb5fdbc8d48e30a /time
parentf47e7204b47ba82ce1d6af29937e049de94f589a (diff)
downloadbluez-afb04979ee7b986f9351ca19565d3b0d7ac4c181.tar.gz
GATT: Profile support for EnableGatt
Add support for the EnableGatt for all GATT profiles.
Diffstat (limited to 'time')
-rw-r--r--time/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/time/main.c b/time/main.c
index cbcdb0da7..d87672567 100644
--- a/time/main.c
+++ b/time/main.c
@@ -28,6 +28,7 @@
#include <stdint.h>
#include <glib.h>
+#include <errno.h>
#include "plugin.h"
#include "hcid.h"
@@ -37,8 +38,8 @@
static int time_init(void)
{
if (!main_opts.gatt_enabled) {
- DBG("Attribute server is disabled");
- return -1;
+ DBG("GATT is disabled");
+ return -ENOTSUP;
}
return time_server_init();