mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Bluetooth: Save hs_hchan instead of hs_hcon in loglink complete
When logical link creation is completed we need to save hs_hchan which represents logical link instead of hs_hcon representing physical link. hs_hcon shall be saved when receiving physical link complete event. Signed-off-by: Andrei Emeltchenko <[email protected]> Acked-by: Marcel Holtmann <[email protected]> Signed-off-by: Gustavo Padovan <[email protected]>
This commit is contained in:
parent
ba6fc31727
commit
336178a334
1 changed files with 1 additions and 1 deletions
|
|
@ -4375,7 +4375,7 @@ static void l2cap_logical_finish_create(struct l2cap_chan *chan,
|
|||
{
|
||||
struct l2cap_conf_rsp rsp;
|
||||
|
||||
chan->hs_hcon = hchan->conn;
|
||||
chan->hs_hchan = hchan;
|
||||
chan->hs_hcon->l2cap_data = chan->conn;
|
||||
|
||||
l2cap_send_efs_conf_rsp(chan, &rsp, chan->ident, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue