diff options
author | Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com> | 2012-08-29 10:02:08 +0200 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-09-19 01:07:03 +0200 |
commit | 3d1cbdd6aefff711bcf389fdabc4af9bc22e8201 (patch) | |
tree | b80f599211770ece9151f5791d40b2d88023b67a /arch | |
parent | brcmfmac: Fix big endian host configuration data. (diff) | |
download | linux-3d1cbdd6aefff711bcf389fdabc4af9bc22e8201.tar.xz linux-3d1cbdd6aefff711bcf389fdabc4af9bc22e8201.zip |
Bluetooth: mgmt: Fix enabling SSP 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 SSP will only set dev_flags but won't
write changes to controller. As a result remote devices won't use Secure Simple
Pairing with our device due to SSP Host Support flag disabled in extended
features and may also reject SSP attempt from our side (with possible fallback
to legacy pairing).
This patch ensures HCI Write Simple Pairing Mode 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 'arch')
0 files changed, 0 insertions, 0 deletions