All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maks Naumov <maksqwe1@ukr.net>
To: netdev@vger.kernel.org, irda-users@lists.sourceforge.net
Cc: Samuel Ortiz <samuel@sortiz.org>
Subject: [PATCH] irda: Fix rd_frame control field initialization in irlap_send_rd_frame()
Date: Tue, 12 Aug 2014 12:10:56 -0700	[thread overview]
Message-ID: <1407870656.4174.9.camel@ubuntu> (raw)

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

Signed-off-by: Maks Naumov <maksqwe1@ukr.net>
---
 net/irda/irlap_frame.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/irda/irlap_frame.c b/net/irda/irlap_frame.c
index 9ea0c93..a37998c 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);
 }
-- 
1.9.1

             reply	other threads:[~2014-08-12 19:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-12 19:10 Maks Naumov [this message]
2014-08-12 22:18 ` [PATCH] irda: Fix rd_frame control field initialization in irlap_send_rd_frame() David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1407870656.4174.9.camel@ubuntu \
    --to=maksqwe1@ukr.net \
    --cc=irda-users@lists.sourceforge.net \
    --cc=netdev@vger.kernel.org \
    --cc=samuel@sortiz.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.