linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: roylee17@gmail.com
To: linux-bluetooth@vger.kernel.org
Cc: Tzu-Jung Lee <roylee17@gmail.com>
Subject: [PATCH 3/3] tools: Fix download mode delay for bcm43xx
Date: Mon,  8 Sep 2014 14:22:00 -0700	[thread overview]
Message-ID: <1410211320-16111-3-git-send-email-roylee@paypal.com> (raw)
In-Reply-To: <1410211320-16111-1-git-send-email-roylee@paypal.com>

From: Tzu-Jung Lee <roylee17@gmail.com>

---
 tools/hciattach_bcm43xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/hciattach_bcm43xx.c b/tools/hciattach_bcm43xx.c
index 630220e..53dbce5 100644
--- a/tools/hciattach_bcm43xx.c
+++ b/tools/hciattach_bcm43xx.c
@@ -220,7 +220,7 @@ static int bcm43xx_set_clock(int fd, unsigned char clock)
 static int bcm43xx_load_firmware(int fd, const char *fw)
 {
 	unsigned char cmd[] = { HCI_COMMAND_PKT, 0x2e, 0xfc, 0x00 };
-	struct timespec tm_mode = { 0, 50000 };
+	struct timespec tm_mode = { 0, 50000000 };
 	struct timespec tm_ready = { 0, 2000000 };
 	unsigned char resp[CC_MIN_SIZE];
 	unsigned char tx_buf[1024];
-- 
2.0.4


  parent reply	other threads:[~2014-09-08 21:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-08 21:21 [PATCH 1/3] tools: Fix usage for hciattach command roylee17
2014-09-08 21:21 ` [PATCH 2/3] tools: Use specified uart speed to load firmware for bcm43xx roylee17
2014-09-08 21:22 ` roylee17 [this message]
2014-09-15  7:00 ` [PATCH 1/3] tools: Fix usage for hciattach command Luiz Augusto von Dentz
2014-09-15 18:23   ` Tzu-Jung Lee
2014-09-19 17:41     ` Tzu-Jung Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1410211320-16111-3-git-send-email-roylee@paypal.com \
    --to=roylee17@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).