Bluetooth: Move hci_recv_frame and hci_recv_diag prototypes
Subsystems (2)
Marcel Holtmann
maintainerPATCH 1/3 Bluetooth: Move hci_recv_frame and hci_recv_diag prototypes
The protoypes for hci_recv_frame and hci_recv_diag are in the wrong location in the header file. Move them close to all the other hci_dev related exported functions.
Signed-off-by Marcel Holtmann <[email protected]>
--- include/net/bluetooth/hci_core.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
include/net/bluetooth/hci_core.h +2 -3
@@ -1022,6 +1022,8 @@ void hci_unregister_dev(struct hci_dev *hdev);int hci_suspend_dev (struct hci_dev *hdev);int hci_resume_dev (struct hci_dev *hdev);int hci_reset_dev (struct hci_dev *hdev); +int hci_recv_frame (struct hci_dev *hdev,struct sk_buff *skb); +int hci_recv_diag (struct hci_dev *hdev,struct sk_buff *skb);int hci_dev_open (__u16 dev);int hci_dev_close (__u16 dev);int hci_dev_do_close (struct hci_dev *hdev);
@@ -1098,9 +1100,6 @@ int hci_remove_adv_instance(struct hci_dev *hdev, u8 instance);void hci_event_packet (struct hci_dev *hdev,struct sk_buff *skb); -int hci_recv_frame (struct hci_dev *hdev,struct sk_buff *skb); -int hci_recv_diag (struct hci_dev *hdev,struct sk_buff *skb); -void hci_init_sysfs (struct hci_dev *hdev);void hci_conn_init_sysfs (struct hci_conn *conn);void hci_conn_add_sysfs (struct hci_conn *conn);
Signature · 1 line
2.7.4
Hi Marcel,
Quoted 8 lines · Marcel Holtmann
The protoypes for
hci_recv_frameandhci_recv_diagare in the wrong location in the header file. Move them close to all the otherhci_devrelated exported functions.Signed-off-by Marcel Holtmann <[email protected]>--- include/net/bluetooth/hci_core.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
All three patches have been applied to bluetooth-next. Thanks.
Johan