OSDN Git Service

Start the Tx idle timer before sending out HCI command
authorLuke Zhang <lukez@codeaurora.org>
Tue, 29 Nov 2016 22:31:59 +0000 (14:31 -0800)
committerGerrit - the friendly Code Review server <code-review@localhost>
Wed, 30 Nov 2016 16:18:02 +0000 (08:18 -0800)
commitbaa001030da0cf039b9e7630334578a0bdc3659b
treea267c27d23e28145e84cc4d6c64fdd105b1b64dc
parent5759a384b5d0ce641728cc8e323cd8ce807b2692
Start the Tx idle timer before sending out HCI command

In order to prevent pending command timer from starting before Tx
idle timer holds the wake lock, we start Tx idle timer before sending
out command.

Change-Id: I97c7076840d45700739f56c01585aaec4aa5ca9d
hci/src/hci_layer.c