Bluetooth: Use HCI_MGMT instead of HCI_LINK_KEYS flag
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Tue, 14 May 2013 08:44:16 +0000 (11:44 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sat, 22 Jun 2013 23:23:52 +0000 (00:23 +0100)
commit034cbea0931433cf88a1f79a385402604f08bd67
tree70fe066fba4fbcb7e2ff85d932f06247758f7aa9
parent12602d0cc005354a519b3eba443d7912ab71313a
Bluetooth: Use HCI_MGMT instead of HCI_LINK_KEYS flag

Use HCI_MGMT flag instead of HCI_LINK_KEYS flag. There is a problem with
HCI_LINK_KEYS flag since it is set only when link keys are loaded. Otherwise
kernel assumes that old interface is used.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_event.c