aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Luan <james.luan@motorola.com>2009-08-28 13:23:33 -0500
committerNick Pelly <npelly@google.com>2009-08-31 16:22:43 -0700
commitbade45a4861f9881afa7f635dfc0f1e89e7090b9 (patch)
tree9d84b581a5b8443533f72b243c035f1ad4616acc
parent379baa6a41e982672f627836668be953195eb8cc (diff)
downloadbluez-bade45a4861f9881afa7f635dfc0f1e89e7090b9.tar.gz
Change UART speed before Bluetooth firmware download.
-rw-r--r--tools/hciattach_tialt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/hciattach_tialt.c b/tools/hciattach_tialt.c
index dcd3de4a..325e0068 100644
--- a/tools/hciattach_tialt.c
+++ b/tools/hciattach_tialt.c
@@ -263,9 +263,8 @@ int texasalt_init(int fd, int speed, struct termios *ti)
brf_chip);
sprintf(fw, "/etc/firmware/%s.bin", c_brf_chip[brf_chip]);
- texas_load_firmware(fd, fw);
-
texas_change_speed(fd, ti, speed);
+ texas_load_firmware(fd, fw);
}
nanosleep(&tm, NULL);
return 0;