]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Refactor loop in l2cap_retransmit_one_frame
authorSzymon Janc <szymon.janc@tieto.com>
Wed, 16 Nov 2011 08:32:20 +0000 (09:32 +0100)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 16 Nov 2011 20:29:28 +0000 (18:29 -0200)
commitd20dd47c0f943e1a0784cafb682e939408d4b7da
treec0e548dc706c758f1cb2303df1588161c7c8e2b1
parentebe40c9de04eae7624e5ebf418964dfcd5bec6b7
Bluetooth: Refactor loop in l2cap_retransmit_one_frame

This make it easier to see what is the real reason for loop to exit.
skb_queue_next return valid skb or garbage, not NULL.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c