Bluetooth: Fix sending unnecessary HCI_LE_Host_Enable
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 24 Oct 2012 21:09:53 +0000 (00:09 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 1 Nov 2012 22:27:00 +0000 (20:27 -0200)
commit430a61b8037e3184eb7e59220bb4a43530b8d0f6
tree9ce44d500cd47d5f1c05997880fee475a110595b
parent1225a6bdf87446134789f3fc70ca75a056bbb1ed
Bluetooth: Fix sending unnecessary HCI_LE_Host_Enable

This patch fixes sending an unnecessary HCI_LE_Host_Enable command if
the command has already been sent as part of the default HCI init
sequence.

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