Commit a8417e6c authored by Peter Krystad's avatar Peter Krystad
Browse files

Bluetooth: Ensure socket pointer is set during callback



Fix issue where when setting up an AMP link the socket pointer
is not set when the logical link complete callback is called,
resulting in the L2CAP channel being disconnected.

The socket pointer must be set before the HCI logical link
create command is sent, as it is possible for the logical link
complete event to arrive before the HCI command send logic
has returned.

Change-Id: I5d89c14d45bd6b4cf47d5754f822b435ce8076a8
Signed-off-by: default avatarPeter Krystad <pkrystad@codeaurora.org>
CRs-fixed: 344553
parent 9df83d35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment