Skip to content

Commit 92c97a8

Browse files
Thalleynashif
authored andcommitted
Bluetooth: Audio: Fixed bad L2CAP Kconfig for ISO fragmentation
A line of code was guarded by CONFIG_BT_L2CAP_TX_FRAG_COUNT instead of CONFIG_BT_ISO_TX_FRAG_COUNT. Signed-off-by: Emil Gydesen <[email protected]>
1 parent c6132c8 commit 92c97a8

File tree

1 file changed

+2
-2
lines changed
  • subsys/bluetooth/host

1 file changed

+2
-2
lines changed

subsys/bluetooth/host/iso.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,9 @@ struct net_buf *bt_iso_create_frag_timeout(size_t reserve, k_timeout_t timeout)
330330
{
331331
struct net_buf_pool *pool = NULL;
332332

333-
#if CONFIG_BT_L2CAP_TX_FRAG_COUNT > 0
333+
#if CONFIG_BT_ISO_TX_FRAG_COUNT > 0
334334
pool = &iso_frag_pool;
335-
#endif
335+
#endif /* CONFIG_BT_ISO_TX_FRAG_COUNT > 0 */
336336

337337
#if defined(CONFIG_NET_BUF_LOG)
338338
return bt_conn_create_pdu_timeout_debug(pool, reserve, timeout, func,

0 commit comments

Comments
 (0)