diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-04-19 18:35:21 +0300 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-04-23 20:20:12 -0300 |
commit | c73eee9172bf061202c75ad4d16506a7efd04d1c (patch) | |
tree | 6141b15c1eeddd09cf1a7324cc6974f75cd41189 /drivers/bluetooth | |
parent | 07dc93dd14957dc1faba08f0aadd27b082e35ba2 (diff) | |
download | op-kernel-dev-c73eee9172bf061202c75ad4d16506a7efd04d1c.zip op-kernel-dev-c73eee9172bf061202c75ad4d16506a7efd04d1c.tar.gz |
Bluetooth: Fix sending write_le_host_supporte for LE-only controllers
The Bluetooth Core Specification (4.0) defines the Write LE Host
Supported HCI command as only available for controllers supporting
BR/EDR. This is further reflected in the Read Local Extended Features
HCI command also not being available for LE-only controllers. In other
words, host-side LE support is implicit for single-mode LE controllers
and doesn't have explicit HCI-level enablement.
This patch ensures that the LE setting is always exposed as enabled
through mgmt and returns a "rejected" response if user space tries to
toggle the setting. The patch also ensures that Write LE Host Supported
is never sent for LE-only controllers.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions