mirror of
https://github.com/S3NEO/android_kernel_samsung_msm8226.git
synced 2024-11-07 03:47:13 +00:00
Bluetooth: Fix not setting the chan state
When the connection is ready we should set the connection to CONNECTED so userspace can use it. Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
parent
0555891184
commit
43f3dc4157
1 changed files with 1 additions and 1 deletions
|
@ -895,7 +895,7 @@ static void l2cap_chan_ready(struct sock *sk)
|
|||
chan->conf_state = 0;
|
||||
__clear_chan_timer(chan);
|
||||
|
||||
sk->sk_state = BT_CONNECTED;
|
||||
l2cap_state_change(chan, BT_CONNECTED);
|
||||
sk->sk_state_change(sk);
|
||||
|
||||
if (parent)
|
||||
|
|
Loading…
Reference in a new issue