projects
/
platform
/
core
/
api
/
bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a54ec30
)
Fix the build error
57/219557/2
author
DoHyun Pyun
<dh79.pyun@samsung.com>
Fri, 6 Dec 2019 03:52:45 +0000
(12:52 +0900)
committer
DoHyun Pyun
<dh79.pyun@samsung.com>
Fri, 6 Dec 2019 03:58:05 +0000
(12:58 +0900)
Change-Id: I9cffab06ca9e4fc4c4f66e5c2dd0cfb27fb8613f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
test/bt_onoff.c
patch
|
blob
|
history
diff --git
a/test/bt_onoff.c
b/test/bt_onoff.c
index
038bc5f
..
fb593c4
100644
(file)
--- a/
test/bt_onoff.c
+++ b/
test/bt_onoff.c
@@
-111,14
+111,13
@@
int main(int argc, char *argv[])
NULL);
if (argc <= 1) {
- if (state == BT_ADAPTER_DISABLED)
{
+ if (state == BT_ADAPTER_DISABLED)
ret = bt_adapter_enable();
else
ret = bt_adapter_disable();
TC_PRT("bt_adapter_%s() error(%d)",
state == BT_ADAPTER_DISABLED ? "enable" : "disable", ret);
- }
} else {
if (argv[1][0] == '0') {
if (state == BT_ADAPTER_DISABLED) {