Home
last modified time | relevance | path

Searched refs:return_credits (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/net/bluetooth/
Dl2cap_core.c6516 u16 return_credits = l2cap_le_rx_credits(chan); in l2cap_chan_le_send_credits() local
6518 if (chan->rx_credits >= return_credits) in l2cap_chan_le_send_credits()
6521 return_credits -= chan->rx_credits; in l2cap_chan_le_send_credits()
6523 BT_DBG("chan %p returning %u credits to sender", chan, return_credits); in l2cap_chan_le_send_credits()
6525 chan->rx_credits += return_credits; in l2cap_chan_le_send_credits()
6528 pkt.credits = cpu_to_le16(return_credits); in l2cap_chan_le_send_credits()