mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-18 00:01:33 +02:00
Fix issue where if there are two OBEX connections on an AMP link and one of them is moved back to BR-EDR (or disconnected) the remaining connection ceases to transfer any data, times out, and disconnects. The l2cap_data pointer of the AMP hci_conn structure should not be cleared whenever an L2CAP channel on AMP is deleted, it should only be cleared when the last L2CAP channel on the AMP is deleted. This allows multiple L2CAP channels to be open concurrently on AMP. CRs-fixed: 344557 Change-Id: Ifb15a7156437a6ab7a7a76c3dae4b1cd901c796f Signed-off-by: Peter Krystad <pkrystad@codeaurora.org>