OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
539a560
)
alert: Use btd_profile_register return value in alert_server_init
author
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 14 Dec 2012 11:16:50 +0000
(13:16 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 14 Dec 2012 11:16:50 +0000
(13:16 +0200)
profiles/alert/server.c
patch
|
blob
|
history
diff --git
a/profiles/alert/server.c
b/profiles/alert/server.c
index
8df469a
..
3f7b37e
100644
(file)
--- a/
profiles/alert/server.c
+++ b/
profiles/alert/server.c
@@
-985,9
+985,7
@@
static int alert_server_init(void)
return -EIO;
}
- btd_profile_register(&alert_profile);
-
- return 0;
+ return btd_profile_register(&alert_profile);
}
static void alert_server_exit(void)