Bluetooth: add debug output to l2cap_ack_timeout()

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
Gustavo F. Padovan 2011-12-22 16:56:05 -02:00
parent 5436538fb5
commit 2fb9b3d4e5
1 changed files with 2 additions and 0 deletions

View File

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