diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-10-05 09:56:56 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-10-07 18:21:51 -0400 |
commit | a0c234fe8972aa6a5afe2db6c27a3f5d5fbd88e7 (patch) | |
tree | a47cdeec7101d6b06537174b3d41358a572ebd1f /include/net/bluetooth/amp.h | |
parent | fa4ebc66c432d0e0ec947cb754d4144c4a681f28 (diff) |
Bluetooth: AMP: Factor out phylink_add
Add direction parameter to phylink_add since it is anyway set later.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth/amp.h')
-rw-r--r-- | include/net/bluetooth/amp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/amp.h b/include/net/bluetooth/amp.h index ae2c3e536473..2e7c79ea0463 100644 --- a/include/net/bluetooth/amp.h +++ b/include/net/bluetooth/amp.h | |||
@@ -31,7 +31,7 @@ struct amp_ctrl *amp_ctrl_lookup(struct amp_mgr *mgr, u8 id); | |||
31 | void amp_ctrl_list_flush(struct amp_mgr *mgr); | 31 | void amp_ctrl_list_flush(struct amp_mgr *mgr); |
32 | 32 | ||
33 | struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr, | 33 | struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr, |
34 | u8 remote_id); | 34 | u8 remote_id, bool out); |
35 | 35 | ||
36 | int phylink_gen_key(struct hci_conn *hcon, u8 *data, u8 *len, u8 *type); | 36 | int phylink_gen_key(struct hci_conn *hcon, u8 *data, u8 *len, u8 *type); |
37 | 37 | ||