]> Git Repo - linux.git/commit
Bluetooth: Fix accepting connect requests for defer_setup
authorJohan Hedberg <[email protected]>
Tue, 14 Jun 2011 09:48:19 +0000 (12:48 +0300)
committerGustavo F. Padovan <[email protected]>
Tue, 14 Jun 2011 17:48:01 +0000 (14:48 -0300)
commitdf3c3931ec58cca3409c71b18ad6da0cd71fe163
tree0a159ff9f6c82805eae6bc7ae330d23cdab3e4f5
parent6fdf658c9a0e51e6663f2769f6d310c2843a862b
Bluetooth: Fix accepting connect requests for defer_setup

When authentication completes we shouldn't blindly accept any pending
L2CAP connect requests. If the socket has the defer_setup feature
enabled it should still wait for user space acceptance of the connect
request. The issue only happens for non-SSP connections since with SSP
the L2CAP Connect request may not be sent for non-SDP PSMs before
authentication has completed successfully.

Signed-off-by: Johan Hedberg <[email protected]>
Signed-off-by: Gustavo F. Padovan <[email protected]>
net/bluetooth/l2cap_core.c
This page took 0.055355 seconds and 4 git commands to generate.