Merge "bluetooth: Initiate authentication before sending l2cap connect response."
This commit is contained in:
commit
934a6933c9
|
@ -3644,6 +3644,8 @@ void __l2cap_connect_rsp_defer(struct l2cap_chan *chan)
|
|||
else
|
||||
rsp_code = L2CAP_CONN_RSP;
|
||||
|
||||
l2cap_chan_check_security(chan);
|
||||
|
||||
BT_DBG("chan %p rsp_code %u", chan, rsp_code);
|
||||
|
||||
l2cap_send_cmd(conn, chan->ident, rsp_code, sizeof(rsp), &rsp);
|
||||
|
|
Loading…
Reference in New Issue