summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMaks Naumov <maksqwe1@ukr.net>2014-08-12 20:28:41 +0200
committerDavid S. Miller <davem@davemloft.net>2014-08-14 05:05:52 +0200
commitefd5029010c5b13c20bd6364fce9b3eae454419a (patch)
tree7337a4d950da13dc92876f5d4ea3bc523aad9e5d /net
parentlibcxgbi/cxgb4i : Fix ipv6 build failure caught with randconfig (diff)
downloadlinux-efd5029010c5b13c20bd6364fce9b3eae454419a.tar.xz
linux-efd5029010c5b13c20bd6364fce9b3eae454419a.zip
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')
-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);
}