summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-28 01:07:22 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-28 01:54:19 +0200
commit8f984dfaf0bfa1355548cfba00473c8fa8e22d6e (patch)
tree7c22e24bf6e2ff7ab28bfaadf1f9da983a962827 /include/net/bluetooth/hci.h
parent0b60eba1b29740a606e6b7694d2dc98b6085a1bf (diff)
Bluetooth: Remove redundant read_host_features commands
Previously the write_le_enable would trigger a read_host_features command but since we have access to the value LE support was set to we can simply just clear or set the bit in hdev->host_features. This also removes a second unnecessary read_host_features command from the device initialization procedure since LE is only enabled after the first read_host_features command completes. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci.h')
0 files changed, 0 insertions, 0 deletions