/* Receive and parse an I (Information) frame, no harm in making it inline since it's called only from one single place (irlap_driver_rcv).  */
static void irlap_recv_i_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command)
/* Receive and parse an I (Information) frame, no harm in making it inline since it's called only from one single place (irlap_driver_rcv).  */
static void irlap_recv_i_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command)
{
	info->nr = skb->data[1] >> 5;
	info->pf = skb->data[1] & PF_BIT;
	info->ns = (skb->data[1] >> 1) & 0x07;
	if (command)
		irlap_do_event(self, RECV_I_CMD, skb, info);
	else
		irlap_do_event(self, RECV_I_RSP, skb, info);
}