diff options
author | Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com> | 2012-08-29 10:02:09 +0200 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-09-18 20:07:03 -0300 |
commit | 562fcc246ebe31ade6e1be08585673b9b2785498 (patch) | |
tree | 508035b236bc31e516b3a742f5fbc7886efb3b1f /tools | |
parent | 3d1cbdd6aefff711bcf389fdabc4af9bc22e8201 (diff) | |
download | linux-562fcc246ebe31ade6e1be08585673b9b2785498.tar.gz linux-562fcc246ebe31ade6e1be08585673b9b2785498.tar.bz2 linux-562fcc246ebe31ade6e1be08585673b9b2785498.zip |
Bluetooth: mgmt: Fix enabling LE while powered off
When new BT USB adapter is plugged in it's configured while still being powered
off (HCI_AUTO_OFF flag is set), thus Set LE will only set dev_flags but won't
write changes to controller. As a result it's not possible to start device
discovery session on LE controller as it uses interleaved discovery which
requires LE Supported Host flag in extended features.
This patch ensures HCI Write LE Host Supported is sent when Set Powered is
called to power on controller and clear HCI_AUTO_OFF flag.
Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Cc: stable@vger.kernel.org
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions