From 65a433e2af480b318020c94298df5755684c2e90 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Fri, 6 Dec 2019 12:52:45 +0900 Subject: [PATCH] Fix the build error Change-Id: I9cffab06ca9e4fc4c4f66e5c2dd0cfb27fb8613f Signed-off-by: DoHyun Pyun --- test/bt_onoff.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/bt_onoff.c b/test/bt_onoff.c index 038bc5f..fb593c4 100644 --- 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) { -- 2.7.4