]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Refactor l2cap_retransmit_frame()
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:44 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:52 +0000 (09:28 +0200)
commitf11d676da4059c7888efca810ab300b931736a26
tree68d4991bb0b85f803afedffe2309e1b3c46a876e
parent9a9c6a34416b3743c09c00f3d6708d9df3c21629
Bluetooth: Refactor l2cap_retransmit_frame()

Make the code flow cleaner and changes the function to void.
It also fixes a potential NULL dereference with skb.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c