Diff between 69e73aeffef11fd6f9fc94983730343af670322d and ff794ffae4bb89f8fcd2f76c1dcd04c24e1a6c38

Changed Files

File Additions Deletions Status
tools/hciattach_ath3k.c +1 -1 modified
tools/sdptool.c +1 -1 modified

Full Patch

diff --git a/tools/hciattach_ath3k.c b/tools/hciattach_ath3k.c
index 803cf46..23208c6 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 db9ac0d..4e9da64 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");