Commit 6f09a696 authored by Emil Gydesen's avatar Emil Gydesen Committed by Anas Nashif
Browse files

Bluetooth: ISO: Make iso_new static



Make iso_new static as it is only used by iso.c

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent 9d17138f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ void hci_iso(struct net_buf *buf)
	bt_conn_unref(iso);
}

struct bt_conn *iso_new(void)
static struct bt_conn *iso_new(void)
{
	struct bt_conn *iso = bt_conn_new(iso_conns, ARRAY_SIZE(iso_conns));

+0 −3
Original line number Diff line number Diff line
@@ -73,9 +73,6 @@ void hci_iso(struct net_buf *buf);
/* Allocates RX buffer */
struct net_buf *bt_iso_get_rx(k_timeout_t timeout);

/* Create new ISO connecting */
struct bt_conn *iso_new(void);

/* Process CIS Estabilished event */
void hci_le_cis_estabilished(struct net_buf *buf);