]> git.baikalelectronics.ru Git - kernel.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)
commit16951a0cf2676c478342ef4dc0a3d0b75444129c
tree68d4991bb0b85f803afedffe2309e1b3c46a876e
parent241dc08d971d5529c6835c294eb92d9d4d9d21e2
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