Bluetooth: Simplify l2cap_add_to_srej_queue
authorSzymon Janc <szymon.janc@tieto.com>
Wed, 16 Nov 2011 08:32:19 +0000 (09:32 +0100)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 16 Nov 2011 20:29:07 +0000 (18:29 -0200)
commit039d9572f11ef46ff2743798f2170a888d393ec6
treed838c608e21081416216f7a2f8fdfbc5739a3f47
parentaef89f214e4306153c7913b9854456595153f5d8
Bluetooth: Simplify l2cap_add_to_srej_queue

Make it easier to see what is loop break condition.
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