]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit241dc08d971d5529c6835c294eb92d9d4d9d21e2
tree1551a090ce012a53343d822c274f0705e44438b3
parent63f1e2c73d445deea6f493a0fe33ef0e6abc6f56
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