aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r--net/bluetooth/hci_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 47bd48a597bd..b0fdeec2f2ca 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -3066,7 +3066,7 @@ static void hci_link_key_request_evt(struct hci_dev *hdev, struct sk_buff *skb)
3066 BT_DBG("%s found key type %u for %pMR", hdev->name, key->type, 3066 BT_DBG("%s found key type %u for %pMR", hdev->name, key->type,
3067 &ev->bdaddr); 3067 &ev->bdaddr);
3068 3068
3069 if (!test_bit(HCI_DEBUG_KEYS, &hdev->dev_flags) && 3069 if (!test_bit(HCI_KEEP_DEBUG_KEYS, &hdev->dev_flags) &&
3070 key->type == HCI_LK_DEBUG_COMBINATION) { 3070 key->type == HCI_LK_DEBUG_COMBINATION) {
3071 BT_DBG("%s ignoring debug key", hdev->name); 3071 BT_DBG("%s ignoring debug key", hdev->name);
3072 goto not_found; 3072 goto not_found;