linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 1/5] Bluetooth: Fix using locked state_change for A2MP chan
@ 2012-12-07 12:59 Andrei Emeltchenko
  2012-12-07 12:59 ` [RFC 2/5] Bluetooth: AMP: Send A2MP Create Phylink Rsp after Assoc write Andrei Emeltchenko
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Andrei Emeltchenko @ 2012-12-07 12:59 UTC (permalink / raw)
  To: linux-bluetooth

From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

A2MP channel do not have sk associated so use unlocked version
of state_change. chan is already locked.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
---
 net/bluetooth/l2cap_core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 2c78208..d4a44dc 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -1196,7 +1196,7 @@ static void l2cap_send_disconn_req(struct l2cap_chan *chan, int err)
 	}
 
 	if (chan->chan_type == L2CAP_CHAN_CONN_FIX_A2MP) {
-		l2cap_state_change(chan, BT_DISCONN);
+		__l2cap_state_change(chan, BT_DISCONN);
 		return;
 	}
 
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-21  1:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-07 12:59 [RFC 1/5] Bluetooth: Fix using locked state_change for A2MP chan Andrei Emeltchenko
2012-12-07 12:59 ` [RFC 2/5] Bluetooth: AMP: Send A2MP Create Phylink Rsp after Assoc write Andrei Emeltchenko
2012-12-07 12:59 ` [RFC 3/5] Bluetooth: AMP: Clean up logical link create / accept Andrei Emeltchenko
2012-12-07 12:59 ` [RFC 4/5] Bluetooth: AMP: Remove dead code Andrei Emeltchenko
2012-12-07 12:59 ` [RFC 5/5] Bluetooth: AMP: Use set_bit / test_bit for amp_mgr state Andrei Emeltchenko
2012-12-21  1:38   ` Gustavo Padovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).