diff options
author | Chen Ganir <chen.ganir@ti.com> | 2012-03-19 16:57:53 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-03-26 12:12:24 +0300 |
commit | afb04979ee7b986f9351ca19565d3b0d7ac4c181 (patch) | |
tree | ed767eaa3cbaf39a826fc5074cb5fdbc8d48e30a /time | |
parent | f47e7204b47ba82ce1d6af29937e049de94f589a (diff) | |
download | bluez-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.c | 5 |
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(); |