diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2013-05-14 10:44:17 +0200 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-06-23 01:23:53 +0200 |
commit | 0a804654af62dfea4899c66561d74d72273b2921 (patch) | |
tree | 2a2c8c377d452c2c5d843b1ade7030bc86d53411 /net | |
parent | Bluetooth: Use HCI_MGMT instead of HCI_LINK_KEYS flag (diff) | |
download | linux-0a804654af62dfea4899c66561d74d72273b2921.tar.xz linux-0a804654af62dfea4899c66561d74d72273b2921.zip |
Bluetooth: Remove unneeded flag
Remove HCI_LINK_KEYS flag since using HCI_MGMT is enough for test that
user space expects the kernel managing link keys.
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/mgmt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 7ae737fcf5e7..fedc5399d465 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c @@ -1736,8 +1736,6 @@ static int load_link_keys(struct sock *sk, struct hci_dev *hdev, void *data, hci_link_keys_clear(hdev); - set_bit(HCI_LINK_KEYS, &hdev->dev_flags); - if (cp->debug_keys) set_bit(HCI_DEBUG_KEYS, &hdev->dev_flags); else |