Skip to contentSkip to conversation

irda: Fix rd_frame control field initialization in irlap_send_rd_frame()

PATCH Applied Maks Naumov 2 participants 2 messages Aug 12, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 irda: Fix rd_frame control field initialization in irlap_send_rd_frame()

Quoted 1 line

From 4b2031adff2418d18f634be3655c2cebb51212e3 Mon Sep 17 00:00:00 2001

From: Maks Naumov <[email protected]>
Date: Tue, 12 Aug 2014 11:28:41 -0700
Subject: [PATCH] irda: Fix rd_frame control field initialization in irlap_send_rd_frame()

---
 net/irda/irlap_frame.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/irda/irlap_frame.c +1 -1
index 9ea0c93..a37998c 100644
@@ -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);
 }
Signature · 1 line
1.9.1
maintainer Applied
#1 lore raw

From: Maks Naumov <[email protected]>
Date: Tue, 12 Aug 2014 12:10:56 -0700

Quoted 6 lines

From 4b2031adff2418d18f634be3655c2cebb51212e3 Mon Sep 17 00:00:00 2001
From: Maks Naumov <[email protected]>
Date: Tue, 12 Aug 2014 11:28:41 -0700
Subject: [PATCH] irda: Fix rd_frame control field initialization in irlap_send_rd_frame()

Applied, thank you.