/* Build and transmit RR (Receive Ready) frame. Notice that it is currently only possible to send RR frames with the poll bit set.  */
void irlap_send_rr_frame(struct irlap_cb *self, int command)
/* Build and transmit RR (Receive Ready) frame. Notice that it is currently only possible to send RR frames with the poll bit set.  */
void irlap_send_rr_frame(struct irlap_cb *self, int command)
{
	struct sk_buff *tx_skb;
	struct rr_frame *frame;
	tx_skb = alloc_skb(sizeof(struct rr_frame), GFP_ATOMIC);
	if (!tx_skb)
		return;
	frame = (struct rr_frame *)skb_put(tx_skb, 2);
	frame->caddr = self->caddr;
	frame->caddr |= (command) ? CMD_FRAME : 0;
	frame->control = RR | PF_BIT | (self->vr << 5);
	irlap_queue_xmit(self, tx_skb);
}