OSDN Git Service

Check the return value of the HAL init function
authorMyles Watson <mylesgw@google.com>
Fri, 17 Feb 2017 16:30:18 +0000 (08:30 -0800)
committerMyles Watson <mylesgw@google.com>
Fri, 17 Feb 2017 17:02:23 +0000 (17:02 +0000)
commit3e50ee88176a8122dc295358d98a965aefe99f19
tree6bb5febce50dd187a036e5ce70b5cb72c64f5b8d
parentf28952970ede50958f65ab88943977f9ca871b84
Check the return value of the HAL init function

If the HAL can be opened, but initialization fails, Bluetooth
can not start.

Test: Force an initialization failure, BT dies
Change-Id: I7dd5ed49c9e7873a666dc001e68bdc13660648ba
hci/src/hci_layer.cc