diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-02-20 06:26:23 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-02-20 12:20:17 -0500 |
commit | 7129069e84056ba28954550beb208b2645863299 (patch) | |
tree | 3bf41a250b80155985f14a8d6b8f00543cdf7464 /include/net | |
parent | 39e3e74423a35bfc95b077fb65acaa00d1d39d64 (diff) |
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')
-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 a7bf77384464..a831c8ad10f1 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); | |||
1265 | 1265 | ||
1266 | /* ----- HCI Sockets ----- */ | 1266 | /* ----- HCI Sockets ----- */ |
1267 | void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb); | 1267 | void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb); |
1268 | void hci_send_to_control(struct sk_buff *skb, struct sock *skip_sk); | 1268 | void hci_send_to_channel(unsigned short channel, struct sk_buff *skb, |
1269 | struct sock *skip_sk); | ||
1269 | void hci_send_to_monitor(struct hci_dev *hdev, struct sk_buff *skb); | 1270 | void hci_send_to_monitor(struct hci_dev *hdev, struct sk_buff *skb); |
1270 | 1271 | ||
1271 | void hci_sock_dev_event(struct hci_dev *hdev, int event); | 1272 | void hci_sock_dev_event(struct hci_dev *hdev, int event); |