aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@openbossa.org>2012-04-27 10:36:45 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-05-10 16:43:16 -0700
commitff794ffae4bb89f8fcd2f76c1dcd04c24e1a6c38 (patch)
treef9716869b59a84d9f0983f3f07be7301e20ab49d
parent69e73aeffef11fd6f9fc94983730343af670322d (diff)
downloadbluez-ff794ffae4bb89f8fcd2f76c1dcd04c24e1a6c38.tar.gz
bluez-ff794ffae4bb89f8fcd2f76c1dcd04c24e1a6c38.tar.xz
bluez-ff794ffae4bb89f8fcd2f76c1dcd04c24e1a6c38.zip
tools: Fix tab misuse
-rw-r--r--tools/hciattach_ath3k.c2
-rw-r--r--tools/sdptool.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/hciattach_ath3k.c b/tools/hciattach_ath3k.c
index 803cf464..23208c66 100644
--- a/tools/hciattach_ath3k.c
+++ b/tools/hciattach_ath3k.c
@@ -900,7 +900,7 @@ int ath3k_post(int fd, int pm)
}
/* send vendor specific command with Sleep feature Enabled */
- if (hci_send_cmd(dd, OGF_VENDOR_CMD, HCI_SLEEP_CMD_OCF, 1, &pm) < 0)
+ if (hci_send_cmd(dd, OGF_VENDOR_CMD, HCI_SLEEP_CMD_OCF, 1, &pm) < 0)
perror("PM command failed, power management Disabled");
nanosleep(&tm, NULL);
diff --git a/tools/sdptool.c b/tools/sdptool.c
index db9ac0d0..4e9da64d 100644
--- a/tools/sdptool.c
+++ b/tools/sdptool.c
@@ -3468,7 +3468,7 @@ static int add_gatt(sdp_session_t *session, svc_info_t *si)
ret = sdp_device_record_register(session, &interface, &record,
SDP_RECORD_PERSIST);
- if (ret < 0)
+ if (ret < 0)
printf("Service Record registration failed\n");
else
printf("Generic Attribute Profile Service registered\n");