aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_sock.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <[email protected]>2019-03-14 13:43:37 +0000
committerMarcel Holtmann <[email protected]>2019-04-23 16:09:07 +0000
commitba8f5289f706aed94cc95b15cc5b89e22062f61f (patch)
tree44303e91b7ebbc73ebf8928a5b8fdf5b3e8597e5 /net/bluetooth/l2cap_sock.c
parentBluetooth: btqca: Fix misspelling of 'baudrate' (diff)
downloadkernel-ba8f5289f706aed94cc95b15cc5b89e22062f61f.tar.gz
kernel-ba8f5289f706aed94cc95b15cc5b89e22062f61f.zip
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 <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]> Cc: [email protected] # 4.20+
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
0 files changed, 0 insertions, 0 deletions