OSDN Git Service

android: Fix for BT Turn off while pairing
authorLukasz Rymanowski <lukasz.rymanowski@tieto.com>
Thu, 13 Feb 2014 10:51:32 +0000 (11:51 +0100)
committerSzymon Janc <szymon.janc@tieto.com>
Mon, 17 Feb 2014 13:42:15 +0000 (14:42 +0100)
commitf4ff283b43e46ba6dbcd4cf2058438dc96b759e6
tree7a27924afebbdbe6da55f988c28fa74c0eae792f
parent8e9e005aa07584e05ef2dbb8069fac03f7db16b6
android: Fix for BT Turn off while pairing

This patch fix an issue when Android disables BT during ongoing
paring. In this case mgmt did not accept any commands and BT gets
in some unknown state.
Since Android turns off BT anyway, it is ok to just cancel all
the mgmt requests before send power off command.
android/bluetooth.c