Searched refs:return_credits (Results 1 – 1 of 1) sorted by relevance
6766 u16 return_credits; in l2cap_chan_le_send_credits() local6768 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()