diff options
author | Jose Antonio Santos Cadenas <santoscadenas@gmail.com> | 2010-05-07 00:27:11 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-05-07 01:48:03 +0300 |
commit | 0edbc777558c66aac0c373f911bdd83ffb3a95e8 (patch) | |
tree | 6c16697cef912e3a093cc4b9d43ac6a719777074 /tools/hciattach_st.c | |
parent | 6968c52091ad2f85038e5b2903b61cc78f3d29c9 (diff) | |
download | bluez-0edbc777558c66aac0c373f911bdd83ffb3a95e8.tar.gz |
Remove extra spaces from tools dir
Diffstat (limited to 'tools/hciattach_st.c')
-rw-r--r-- | tools/hciattach_st.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/hciattach_st.c b/tools/hciattach_st.c index f10bcf639..dbb7c47b2 100644 --- a/tools/hciattach_st.c +++ b/tools/hciattach_st.c @@ -140,7 +140,7 @@ static int load_file(int dd, uint16_t version, const char *suffix) return -errno; } - found_fw_file = 0; + found_fw_file = 0; while (1) { d = readdir(dir); if (!d) @@ -203,14 +203,14 @@ int stlc2500_init(int dd, bdaddr_t *bdaddr) int len; int err; - /* Hci_Cmd_Ericsson_Read_Revision_Information */ + /* Hci_Cmd_Ericsson_Read_Revision_Information */ len = do_command(dd, 0xff, 0x000f, NULL, 0, buf, sizeof(buf)); if (len < 0) return -1; printf("%s\n", buf); - /* HCI_Read_Local_Version_Information */ + /* HCI_Read_Local_Version_Information */ len = do_command(dd, 0x04, 0x0001, NULL, 0, buf, sizeof(buf)); if (len < 0) return -1; @@ -219,7 +219,7 @@ int stlc2500_init(int dd, bdaddr_t *bdaddr) err = load_file(dd, version, ".ptc"); if (err < 0) { - if (err == -ENOENT) + if (err == -ENOENT) fprintf(stderr, "No ROM patch file loaded.\n"); else return -1; @@ -227,7 +227,7 @@ int stlc2500_init(int dd, bdaddr_t *bdaddr) err = load_file(dd, buf[2] << 8 | buf[1], ".ssf"); if (err < 0) { - if (err == -ENOENT) + if (err == -ENOENT) fprintf(stderr, "No static settings file loaded.\n"); else return -1; @@ -237,7 +237,7 @@ int stlc2500_init(int dd, bdaddr_t *bdaddr) cmd[1] = 0x06; bacpy((bdaddr_t *) (cmd + 2), bdaddr); - /* Hci_Cmd_ST_Store_In_NVDS */ + /* Hci_Cmd_ST_Store_In_NVDS */ len = do_command(dd, 0xff, 0x0022, cmd, 8, buf, sizeof(buf)); if (len < 0) return -1; |