Merge "bluetooth: Initiate authentication before sending l2cap connect response."

This commit is contained in:
Linux Build Service Account 2015-04-24 23:48:15 -07:00 committed by Gerrit - the friendly Code Review server
commit 934a6933c9
1 changed files with 2 additions and 0 deletions

View File

@ -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);