aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaks Naumov <maksqwe1@ukr.net>2014-08-12 14:28:41 -0400
committerDavid S. Miller <davem@davemloft.net>2014-08-13 23:05:52 -0400
commitefd5029010c5b13c20bd6364fce9b3eae454419a (patch)
tree7337a4d950da13dc92876f5d4ea3bc523aad9e5d
parent8d21797df9ce6537a46ff58e20f359ef05c8faf2 (diff)
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>
-rw-r--r--net/irda/irlap_frame.c2
1 files changed, 1 insertions, 1 deletions
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)
622 frame = (struct rd_frame *)skb_put(tx_skb, 2); 622 frame = (struct rd_frame *)skb_put(tx_skb, 2);
623 623
624 frame->caddr = self->caddr; 624 frame->caddr = self->caddr;
625 frame->caddr = RD_RSP | PF_BIT; 625 frame->control = RD_RSP | PF_BIT;
626 626
627 irlap_queue_xmit(self, tx_skb); 627 irlap_queue_xmit(self, tx_skb);
628} 628}