projects
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f381c61
)
Bluetooth: Fix not setting the chan state
author
Vinicius Costa Gomes
<vinicius.gomes@openbossa.org>
Mon, 20 Jun 2011 21:53:18 +0000
(18:53 -0300)
committer
mgross
<mark.gross@intel.com>
Wed, 9 Nov 2011 20:18:28 +0000
(12:18 -0800)
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>
net/bluetooth/l2cap_core.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/l2cap_core.c
b/net/bluetooth/l2cap_core.c
index
195012c
..
0a0f65d
100644
(file)
--- a/
net/bluetooth/l2cap_core.c
+++ b/
net/bluetooth/l2cap_core.c
@@
-896,7
+896,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)