diff options
-rw-r--r-- | net/bluetooth/hci_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index c6189d9b6c09..7cf511cb1171 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c | |||
@@ -2032,7 +2032,7 @@ bool hci_inquiry_cache_update(struct hci_dev *hdev, struct inquiry_data *data, | |||
2032 | 2032 | ||
2033 | ie = hci_inquiry_cache_lookup(hdev, &data->bdaddr); | 2033 | ie = hci_inquiry_cache_lookup(hdev, &data->bdaddr); |
2034 | if (ie) { | 2034 | if (ie) { |
2035 | if (ie->data.ssp_mode && ssp) | 2035 | if (ie->data.ssp_mode) |
2036 | *ssp = true; | 2036 | *ssp = true; |
2037 | 2037 | ||
2038 | if (ie->name_state == NAME_NEEDED && | 2038 | if (ie->name_state == NAME_NEEDED && |