aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index f75028b33883..9473fce499e7 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -597,6 +597,9 @@ static inline void hci_encrypt_cfm(struct hci_conn *conn, __u8 status, __u8 encr
597{ 597{
598 struct list_head *p; 598 struct list_head *p;
599 599
600 if (conn->sec_level == BT_SECURITY_SDP)
601 conn->sec_level = BT_SECURITY_LOW;
602
600 hci_proto_encrypt_cfm(conn, status, encrypt); 603 hci_proto_encrypt_cfm(conn, status, encrypt);
601 604
602 read_lock_bh(&hci_cb_list_lock); 605 read_lock_bh(&hci_cb_list_lock);