Bluetooth: Fix HCI command sending when powering on LE-only adapters
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 24 Oct 2012 18:11:57 +0000 (21:11 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 1 Nov 2012 22:26:55 +0000 (20:26 -0200)
commit7f0ae647b29ba80d5a1127804ba478e3de8a6b4c
treec328cb9e1ef40610d802f912554d3a133f627d59
parent711584ea4c8ce47045c8ed4da3d6c6fdf513db92
Bluetooth: Fix HCI command sending when powering on LE-only adapters

This patch makes sure that we don't send BR/EDR-only commands for
LE-only adapters when they get powered on. Doing this would just cause
command errors.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c