Bluetooth: add debug output to l2cap_ack_timeout()
authorGustavo F. Padovan <padovan@profusion.mobi>
Thu, 22 Dec 2011 18:56:05 +0000 (16:56 -0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 22 Dec 2011 20:00:54 +0000 (18:00 -0200)
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c

index 944c18913ca05cea348b479d90ba879254735540..cd7bb3d7f2b4de657a997a0362b0c03917ba889f 100644 (file)
@@ -1985,6 +1985,8 @@ static void l2cap_ack_timeout(struct work_struct *work)
        struct l2cap_chan *chan = container_of(work, struct l2cap_chan,
                                                        ack_timer.work);
 
+       BT_DBG("chan %p", chan);
+
        lock_sock(chan->sk);
        l2cap_send_ack(chan);
        release_sock(chan->sk);