diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-02-20 11:26:23 (GMT) |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-02-20 17:20:17 (GMT) |
commit | 7129069e84056ba28954550beb208b2645863299 (patch) | |
tree | 3bf41a250b80155985f14a8d6b8f00543cdf7464 /include/net/bluetooth | |
parent | 39e3e74423a35bfc95b077fb65acaa00d1d39d64 (diff) | |
download | linux-7129069e84056ba28954550beb208b2645863299.tar.xz |
Bluetooth: Rename hci_send_to_control to hci_send_to_channel
The hci_send_to_control() can be made more general purpose with a small
change of passing the desired HCI channel as a parameter to it. This
allows using it for the monitor channel as well as e.g. 6lowpan in the
future.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index a7bf773..a831c8a 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -1265,7 +1265,8 @@ void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode); /* ----- HCI Sockets ----- */ void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb); -void hci_send_to_control(struct sk_buff *skb, struct sock *skip_sk); +void hci_send_to_channel(unsigned short channel, struct sk_buff *skb, + struct sock *skip_sk); void hci_send_to_monitor(struct hci_dev *hdev, struct sk_buff *skb); void hci_sock_dev_event(struct hci_dev *hdev, int event); |