Re: [PATCH v2] Bluetooth: Fix accepting connect requests for defer_setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* johan.hedberg@xxxxxxxxx <johan.hedberg@xxxxxxxxx> [2011-06-14 12:48:19 +0300]:

> From: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> 
> 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 <johan.hedberg@xxxxxxxxx>
> ---
> v2: rebased against latest bluetooth-next tree
> 
>  net/bluetooth/l2cap_core.c |   21 +++++++++++++++------
>  1 files changed, 15 insertions(+), 6 deletions(-)

Applied with the needed modifications to make it works for bluetooth-2.6.
Thanks.

	Gustavo
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux