hciattach: fix the delay timer for bcm43xx firmware download 38/160838/2 accepted/tizen/4.0/unified/20171124.063548 submit/tizen_4.0/20171122.070346
authorAndy Duan <fugang.duan@nxp.com>
Thu, 20 Jul 2017 13:14:59 +0000 (16:14 +0300)
committerPyun DoHyun <dh79.pyun@samsung.com>
Tue, 21 Nov 2017 01:18:52 +0000 (01:18 +0000)
commita667831d05d8981e0d06f851f102005bd41558d4
tree78fd661aa05b4b6cb342314b944859763d00d9b3
parentc02a112f6b68572c3fb2459b98be2550b818b427
hciattach: fix the delay timer for bcm43xx firmware download

From the log in .bcm43xx_load_firmware():
        /* Wait 50ms to let the firmware placed in download mode */
        nanosleep(&tm_mode, NULL);

But timespec tm_mode is real is 50us. Correct the delayed timer count.

[lhs: Cherry-Picked from
 git://git.kernel.org/pub/scm/bluetooth/bluez.git
 commit 76255f732d68aef2b90d36d9c7be51a9e1739ce7]

Change-Id: I9afd224adf8165d301170cf182a9e28b13244d43
Signed-off-by: Hackseung Lee <lhs@dignsys.com>
tools/hciattach_bcm43xx.c