OSDN Git Service

Fix handling of startup_timer_expired
authorSunny Kapdi <quic_sunnyk@quicinc.com>
Sat, 30 Mar 2019 00:42:38 +0000 (17:42 -0700)
committerUgo Yu <ugoyu@google.com>
Wed, 3 Apr 2019 09:51:42 +0000 (17:51 +0800)
commit146608a91d87a9077d7e660d691575338428ab82
tree3758434e7d51fa1bd6d2e411d563005ba4a93dfb
parent9784830bf215e066aeffe549e3065218c896656c
Fix handling of startup_timer_expired

1. The startup_timer needs to be less than
3 sec to allow the wakelock to be held by
the stack and needs to be less than the
BLE_START_TIMEOUT of framework.
2. On expiry of startup_timer, just abort
as there is no proper recovery steps here.

Bug: 129394377
Change-Id: I1a397bab5c88fe7ef8ccbc369897903ee5d0a36a
hci/src/hci_layer.cc