]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add missing cmd_status handler for LE_Start_Encryption
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Mar 2014 12:39:04 +0000 (14:39 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 24 Mar 2014 14:51:55 +0000 (07:51 -0700)
commite983ddb903d423c354ef452083a8e4097eb6ca78
treeb4c132d043cc5fb1c77566b42085112a3f4df9ba
parentf4980a3050e7293a6faffcf99626692fe02b388a
Bluetooth: Add missing cmd_status handler for LE_Start_Encryption

It is possible that the HCI_LE_Start_Encryption command fails in an
early stage and triggers a command status event with the failure code.
In such a case we need to properly notify the hci_conn object and
cleanly bring the connection down. This patch adds the missing command
status handler for this HCI command.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c