/* Insert minimum turnaround time and speed information into the skb. We need to do this since it's per packet relevant information. Safe to have this function inlined since it's only called from one place  */
static void irlap_insert_info(struct irlap_cb *self, struct sk_buff *skb)
/* Insert minimum turnaround time and speed information into the skb. We need to do this since it's per packet relevant information. Safe to have this function inlined since it's only called from one place  */
static void irlap_insert_info(struct irlap_cb *self, struct sk_buff *skb)
{
	struct irda_skb_cb *cb = (struct irda_skb_cb *) skb->cb;
	cb->magic = LAP_MAGIC;
	cb->mtt = self->mtt_required;
	cb->next_speed = self->speed;
	self->mtt_required = 0;
	cb->xbofs = self->bofs_count;
	cb->next_xbofs = self->next_bofs;
	cb->xbofs_delay = self->xbofs_delay;
	self->xbofs_delay = 0;
	self->bofs_count = self->next_bofs;
}