From efd5029010c5b13c20bd6364fce9b3eae454419a Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Tue, 12 Aug 2014 11:28:41 -0700 Subject: [PATCH] irda: Fix rd_frame control field initialization in irlap_send_rd_frame() Signed-off-by: Maks Naumov Signed-off-by: David S. Miller --- net/irda/irlap_frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/irda/irlap_frame.c b/net/irda/irlap_frame.c index 9ea0c933b9ff..a37998c6273d 100644 --- a/net/irda/irlap_frame.c +++ b/net/irda/irlap_frame.c @@ -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); } -- GitLab