Home
last modified time | relevance | path

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

/net/bluetooth/
Dl2cap_core.c6766 u16 return_credits; in l2cap_chan_le_send_credits() local
6768 return_credits = ((chan->imtu / chan->mps) + 1) - chan->rx_credits; in l2cap_chan_le_send_credits()
6770 if (!return_credits) in l2cap_chan_le_send_credits()
6773 BT_DBG("chan %p returning %u credits to sender", chan, return_credits); in l2cap_chan_le_send_credits()
6775 chan->rx_credits += return_credits; in l2cap_chan_le_send_credits()
6778 pkt.credits = cpu_to_le16(return_credits); in l2cap_chan_le_send_credits()