commit | ba8f5289f706aed94cc95b15cc5b89e22062f61f | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Thu Mar 14 15:43:37 2019 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Apr 23 18:09:07 2019 +0200 |
tree | 44303e91b7ebbc73ebf8928a5b8fdf5b3e8597e5 | |
parent | 75c98a97958158154a61329992d70f08669b2b7a [diff] |
Bluetooth: Fix not initializing L2CAP tx_credits l2cap_le_flowctl_init was reseting the tx_credits which works only for outgoing connection since that set the tx_credits on the response, for incoming connections that was not the case which leaves the channel without any credits causing it to be suspended. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Cc: stable@vger.kernel.org # 4.20+