aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/smp.c')
-rw-r--r--net/bluetooth/smp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c
index 8a7eaaedd67a..63540d0c0db3 100644
--- a/net/bluetooth/smp.c
+++ b/net/bluetooth/smp.c
@@ -531,6 +531,8 @@ static u8 smp_cmd_security_req(struct l2cap_conn *conn, struct sk_buff *skb)
531 531
532 BT_DBG("conn %p", conn); 532 BT_DBG("conn %p", conn);
533 533
534 hcon->pending_sec_level = BT_SECURITY_MEDIUM;
535
534 if (smp_ltk_encrypt(conn)) 536 if (smp_ltk_encrypt(conn))
535 return 0; 537 return 0;
536 538