The BCM43438 on the Rpi3 needs a delay after firmware download. 12/135412/1 accepted/tizen/unified/20170711.180531 submit/tizen/20170710.052629
authorHackseung <lhs@dignsys.com>
Thu, 22 Jun 2017 07:47:11 +0000 (16:47 +0900)
committerHackseung <lhs@dignsys.com>
Thu, 22 Jun 2017 07:47:26 +0000 (16:47 +0900)
Followed the Tizen's coding style.
Thanks for reminder.

Change-Id: If89df08fbd5d1fe0744e7d6b2eb0b4f63e799212

tools/hciattach_bcm43xx.c

index af03538..0d4caf1 100755 (executable)
@@ -383,7 +383,9 @@ int bcm43xx_init(int fd, int def_speed, int speed, struct termios *ti,
                        perror("Can't set host baud rate");
                        return -1;
                }
-
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+               usleep(100000);
+#endif
                if (bcm43xx_reset(fd))
                        return -1;
        }