projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1397d8
)
Remove BT enable check logic in pbap init / deinit
69/93669/1
author
DoHyun Pyun
<dh79.pyun@samsung.com>
Tue, 25 Oct 2016 08:20:09 +0000
(17:20 +0900)
committer
DoHyun Pyun
<dh79.pyun@samsung.com>
Tue, 25 Oct 2016 08:20:09 +0000
(17:20 +0900)
Change-Id: I6b61a5f730127fc1117680e93ffb63cadaff1686
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-api/bt-pbap.c
patch
|
blob
|
history
diff --git
a/bt-api/bt-pbap.c
b/bt-api/bt-pbap.c
index
1e17ba9
..
1d018f8
100755
(executable)
--- a/
bt-api/bt-pbap.c
+++ b/
bt-api/bt-pbap.c
@@
-40,7
+40,6
@@
BT_EXPORT_API int bluetooth_pbap_init(void)
bt_user_info_t *user_info;
int ret;
- BT_CHECK_ENABLED(return);
if (is_pbap_initialized)
return BLUETOOTH_ERROR_ALREADY_INITIALIZED;
@@
-58,7
+57,7
@@
BT_EXPORT_API int bluetooth_pbap_init(void)
BT_EXPORT_API int bluetooth_pbap_deinit(void)
{
int ret;
- BT_CHECK_ENABLED(return);
+
BT_CHECK_PBAP_INITIALIZED(return);
ret = _bt_unregister_event(BT_PBAP_CLIENT_EVENT);