summaryrefslogtreecommitdiff
path: root/net/irda
diff options
context:
space:
mode:
authorMaks Naumov <maksqwe1@ukr.net>2014-08-12 11:28:41 -0700
committerDavid S. Miller <davem@davemloft.net>2014-08-13 20:05:52 -0700
commitefd5029010c5b13c20bd6364fce9b3eae454419a (patch)
tree7337a4d950da13dc92876f5d4ea3bc523aad9e5d /net/irda
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>
Diffstat (limited to 'net/irda')
-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)
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);
}