Merge git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth
Conflicts: net/bluetooth/hci_core.c
This commit is contained in:
commit
1025c04cec
5575 changed files with 380950 additions and 176159 deletions
|
@ -3755,6 +3755,13 @@ static struct l2cap_chan *l2cap_connect(struct l2cap_conn *conn,
|
|||
|
||||
sk = chan->sk;
|
||||
|
||||
/* For certain devices (ex: HID mouse), support for authentication,
|
||||
* pairing and bonding is optional. For such devices, inorder to avoid
|
||||
* the ACL alive for too long after L2CAP disconnection, reset the ACL
|
||||
* disc_timeout back to HCI_DISCONN_TIMEOUT during L2CAP connect.
|
||||
*/
|
||||
conn->hcon->disc_timeout = HCI_DISCONN_TIMEOUT;
|
||||
|
||||
bacpy(&bt_sk(sk)->src, conn->src);
|
||||
bacpy(&bt_sk(sk)->dst, conn->dst);
|
||||
chan->psm = psm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue