瀏覽代碼

Bluetooth: Add debug print to l2cap_chan_create

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Szymon Janc 13 年之前
父節點
當前提交
abc545b8ef
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      net/bluetooth/l2cap_core.c

+ 2 - 0
net/bluetooth/l2cap_core.c

@@ -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;
 }