Skip to content

Commit 4151f0e

Browse files
Thalleynashif
authored andcommitted
Bluetooth: ISO: Fix typo in hci_le_cis_estabilished
The function should have been named hci_le_cis_established. Signed-off-by: Emil Gydesen <[email protected]>
1 parent 9181ae4 commit 4151f0e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

subsys/bluetooth/host/hci_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2198,7 +2198,7 @@ static const struct event_handler meta_events[] = {
21982198
#endif /* defined(CONFIG_BT_PER_ADV_SYNC) */
21992199
#endif /* defined(CONFIG_BT_EXT_ADV) */
22002200
#if defined(CONFIG_BT_ISO_UNICAST)
2201-
EVENT_HANDLER(BT_HCI_EVT_LE_CIS_ESTABLISHED, hci_le_cis_estabilished,
2201+
EVENT_HANDLER(BT_HCI_EVT_LE_CIS_ESTABLISHED, hci_le_cis_established,
22022202
sizeof(struct bt_hci_evt_le_cis_established)),
22032203
EVENT_HANDLER(BT_HCI_EVT_LE_CIS_REQ, hci_le_cis_req,
22042204
sizeof(struct bt_hci_evt_le_cis_req)),

subsys/bluetooth/host/iso.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ void bt_iso_cleanup_acl(struct bt_conn *iso)
794794
}
795795
}
796796

797-
void hci_le_cis_estabilished(struct net_buf *buf)
797+
void hci_le_cis_established(struct net_buf *buf)
798798
{
799799
struct bt_hci_evt_le_cis_established *evt = (void *)buf->data;
800800
uint16_t handle = sys_le16_to_cpu(evt->conn_handle);

subsys/bluetooth/host/iso_internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ void hci_iso(struct net_buf *buf);
7373
/* Allocates RX buffer */
7474
struct net_buf *bt_iso_get_rx(k_timeout_t timeout);
7575

76-
/* Process CIS Estabilished event */
77-
void hci_le_cis_estabilished(struct net_buf *buf);
76+
/* Process CIS Established event */
77+
void hci_le_cis_established(struct net_buf *buf);
7878

7979
/* Process CIS Request event */
8080
void hci_le_cis_req(struct net_buf *buf);

0 commit comments

Comments
 (0)