Bluetooth: Make hci_send_acl() void
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:43 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:52 +0000 (09:28 +0200)
commit9a9c6a34416b3743c09c00f3d6708d9df3c21629
tree1551a090ce012a53343d822c274f0705e44438b3
parentff12fd643334071084b6145cad3793bb6c956638
Bluetooth: Make hci_send_acl() void

hci_send_acl can't fail, so we can make it void. This patch changes
that and all the funcions that use hci_send_acl().
That change exposed a bug on sending connectionless data. We were not
reporting the lenght send back to the user space.

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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/l2cap.c