Bluetooth: Fix sending unnecessary HCI_Write_SSP_Mode command
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 24 Oct 2012 21:09:52 +0000 (00:09 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 1 Nov 2012 22:26:59 +0000 (20:26 -0200)
commit6b4b73ee75bd65c4a47b1a323cb7c5180a6d2ea7
treea93ce2470fab84aa4be06caacdae092a3224d500
parent5ed8eb2f6b5710c09bd1adb40aa795a424e21143
Bluetooth: Fix sending unnecessary HCI_Write_SSP_Mode command

This patch fixes sending an unnecessary HCI_Write_SSP_Mode 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>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/hci_core.h
net/bluetooth/mgmt.c