Bluetooth: Add debug print to l2cap_chan_create
authorSzymon Janc <szymon.janc@tieto.com>
Thu, 3 Nov 2011 15:05:44 +0000 (16:05 +0100)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 7 Nov 2011 19:25:05 +0000 (17:25 -0200)
Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c

index 335dc6fbccf7744f9e81601e91579460c2b66c98..fe5666e1529815003ec9129e235f5e923deaa358 100644 (file)
@@ -294,6 +294,8 @@ struct l2cap_chan *l2cap_chan_create(struct sock *sk)
 
        atomic_set(&chan->refcnt, 1);
 
+       BT_DBG("sk %p chan %p", sk, chan);
+
        return chan;
 }