summaryrefslogtreecommitdiff
path: root/net/irda/irlap_frame.c
diff options
context:
space:
mode:
authorMaks Naumov <maksqwe1@ukr.net>2014-08-12 22:28:41 +0400
committerDavid S. Miller <davem@davemloft.net>2014-08-14 07:05:52 +0400
commitefd5029010c5b13c20bd6364fce9b3eae454419a (patch)
tree7337a4d950da13dc92876f5d4ea3bc523aad9e5d /net/irda/irlap_frame.c
parent8d21797df9ce6537a46ff58e20f359ef05c8faf2 (diff)
downloadlinux-efd5029010c5b13c20bd6364fce9b3eae454419a.tar.xz
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/irlap_frame.c')
-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);
}