From: Gustavo F. Padovan Date: Thu, 22 Dec 2011 18:56:05 +0000 (-0200) Subject: Bluetooth: add debug output to l2cap_ack_timeout() X-Git-Tag: v3.3-rc1~182^2~44^2^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2fb9b3d4e5d720d4033461519af0d3f789924015;p=karo-tx-linux.git Bluetooth: add debug output to l2cap_ack_timeout() Acked-by: Marcel Holtmann Signed-off-by: Gustavo F. Padovan --- diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 944c18913ca0..cd7bb3d7f2b4 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -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);