Commit 0a804654af62dfea4899c66561d74d72273b2921

Authored by Andrei Emeltchenko
Committed by Gustavo Padovan
1 parent 034cbea093

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>

Showing 2 changed files with 0 additions and 3 deletions Side-by-side Diff

include/net/bluetooth/hci.h
... ... @@ -107,7 +107,6 @@
107 107 HCI_MGMT,
108 108 HCI_PAIRABLE,
109 109 HCI_SERVICE_CACHE,
110   - HCI_LINK_KEYS,
111 110 HCI_DEBUG_KEYS,
112 111 HCI_UNREGISTER,
113 112  
net/bluetooth/mgmt.c
... ... @@ -1736,8 +1736,6 @@
1736 1736  
1737 1737 hci_link_keys_clear(hdev);
1738 1738  
1739   - set_bit(HCI_LINK_KEYS, &hdev->dev_flags);
1740   -
1741 1739 if (cp->debug_keys)
1742 1740 set_bit(HCI_DEBUG_KEYS, &hdev->dev_flags);
1743 1741 else