irda: Fix rd_frame control field initialization in irlap_send_rd_frame()

Signed-off-by: Maks Naumov <maksqwe1@ukr.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Maks Naumov 2014-08-12 11:28:41 -07:00 committed by David S. Miller
parent 8d21797df9
commit efd5029010

View File

@ -622,7 +622,7 @@ void irlap_send_rd_frame(struct irlap_cb *self)
frame = (struct rd_frame *)skb_put(tx_skb, 2);
frame->caddr = self->caddr;
frame->caddr = RD_RSP | PF_BIT;
frame->control = RD_RSP | PF_BIT;
irlap_queue_xmit(self, tx_skb);
}