aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-05-01 15:15:43 -0400
committerMarcel Holtmann <marcel@holtmann.org>2010-05-10 03:28:52 -0400
commit9a9c6a34416b3743c09c00f3d6708d9df3c21629 (patch)
tree1551a090ce012a53343d822c274f0705e44438b3 /include/net/bluetooth
parentff12fd643334071084b6145cad3793bb6c956638 (diff)
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>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 9830a88f487e..4511df2a0d7f 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -636,7 +636,7 @@ int hci_register_notifier(struct notifier_block *nb);
636int hci_unregister_notifier(struct notifier_block *nb); 636int hci_unregister_notifier(struct notifier_block *nb);
637 637
638int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, void *param); 638int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, void *param);
639int hci_send_acl(struct hci_conn *conn, struct sk_buff *skb, __u16 flags); 639void hci_send_acl(struct hci_conn *conn, struct sk_buff *skb, __u16 flags);
640void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb); 640void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb);
641 641
642void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode); 642void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode);