diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index 8a7eaaedd67a81786ce0e9f0d841f2567aaf5ed4..63540d0c0db35282cb4bb9fecad0d99319ab3da8 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) BT_DBG("conn %p", conn); + hcon->pending_sec_level = BT_SECURITY_MEDIUM; + if (smp_ltk_encrypt(conn)) return 0;