diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-05-01 15:15:35 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-05-10 03:28:45 -0400 |
commit | 0d861d8b8edd139a9b291cb262d08dec8dc3922d (patch) | |
tree | 2b917b96e349baad182c49b15129c43b6a7b8ca5 /include/net/bluetooth | |
parent | 4f7ac1814ef6f0773e57ffd159a1dd57a3c80521 (diff) |
Bluetooth: Make hci_send_sco() void
It also removes an unneeded check for the MTU. The check is done before
on sco_send_frame()
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index ce3c99e5fa25..9830a88f487e 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -637,7 +637,7 @@ int hci_unregister_notifier(struct notifier_block *nb); | |||
637 | 637 | ||
638 | int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, void *param); | 638 | int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, void *param); |
639 | int hci_send_acl(struct hci_conn *conn, struct sk_buff *skb, __u16 flags); | 639 | int hci_send_acl(struct hci_conn *conn, struct sk_buff *skb, __u16 flags); |
640 | int hci_send_sco(struct hci_conn *conn, struct sk_buff *skb); | 640 | void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb); |
641 | 641 | ||
642 | void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode); | 642 | void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode); |
643 | 643 | ||