mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
Bluetooth: hci_sync: Fix compilation warning
[ Upstream commit 89a0b8b98f
]
This fixes the following warning:
net/bluetooth/hci_sync.c:5143:5: warning: no previous prototype for
‘hci_le_ext_create_conn_sync’ [-Wmissing-prototypes]
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
f8dcb272bb
commit
ac811b4ddb
1 changed files with 2 additions and 2 deletions
|
@ -5156,8 +5156,8 @@ static void set_ext_conn_params(struct hci_conn *conn,
|
||||||
p->max_ce_len = cpu_to_le16(0x0000);
|
p->max_ce_len = cpu_to_le16(0x0000);
|
||||||
}
|
}
|
||||||
|
|
||||||
int hci_le_ext_create_conn_sync(struct hci_dev *hdev, struct hci_conn *conn,
|
static int hci_le_ext_create_conn_sync(struct hci_dev *hdev,
|
||||||
u8 own_addr_type)
|
struct hci_conn *conn, u8 own_addr_type)
|
||||||
{
|
{
|
||||||
struct hci_cp_le_ext_create_conn *cp;
|
struct hci_cp_le_ext_create_conn *cp;
|
||||||
struct hci_cp_le_ext_conn_param *p;
|
struct hci_cp_le_ext_conn_param *p;
|
||||||
|
|
Loading…
Reference in a new issue