summaryrefslogtreecommitdiffstats
path: root/net
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
parent8d21797df9ce6537a46ff58e20f359ef05c8faf2 (diff)
downloadlinux-stable-efd5029010c5b13c20bd6364fce9b3eae454419a.tar.gz
linux-stable-efd5029010c5b13c20bd6364fce9b3eae454419a.tar.bz2
linux-stable-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);
}