Linux bluetooth development
 help / color / mirror / Atom feed
From: Andrei Emeltchenko <andrei.emeltchenko.news@gmail.com>
To: Syam Sidhardhan <s.syam@samsung.com>
Cc: linux-bluetooth@vger.kernel.org, jaganath.k@samsung.com
Subject: Re: [PATCH] Bluetooth: debug: Correct the PSM printing
Date: Mon, 6 Aug 2012 12:46:08 +0300	[thread overview]
Message-ID: <20120806094607.GB2819@aemeltch-MOBL1> (raw)
In-Reply-To: <1343413282-8901-2-git-send-email-s.syam@samsung.com>

Hi Syam,

On Fri, Jul 27, 2012 at 11:51:22PM +0530, Syam Sidhardhan wrote:
> Earlier we were printing chan->psm before assigning any value.
> 
> Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>

Acked-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> 

> ---
>  net/bluetooth/l2cap_core.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
> index bedc960..0912a63 100644
> --- a/net/bluetooth/l2cap_core.c
> +++ b/net/bluetooth/l2cap_core.c
> @@ -1447,7 +1447,7 @@ int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid,
>  	int err;
>  
>  	BT_DBG("%s -> %s (type %u) psm 0x%2.2x", batostr(src), batostr(dst),
> -	       dst_type, __le16_to_cpu(chan->psm));
> +	       dst_type, __le16_to_cpu(psm));
>  
>  	hdev = hci_get_route(dst, src);
>  	if (!hdev)
> -- 
> 1.7.4.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-08-06  9:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-27 18:21 [PATCH] Bluetooth: Use kref for l2cap channel reference counting Syam Sidhardhan
2012-07-27 18:21 ` [PATCH] Bluetooth: debug: Correct the PSM printing Syam Sidhardhan
2012-08-06  9:46   ` Andrei Emeltchenko [this message]
2012-08-13 14:37     ` Syam Sidhardhan
2012-08-21 17:29   ` Gustavo Padovan
2012-08-13 14:35 ` [PATCH] Bluetooth: Use kref for l2cap channel reference counting Syam Sidhardhan
2012-08-21 17:34 ` Gustavo Padovan

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=20120806094607.GB2819@aemeltch-MOBL1 \
    --to=andrei.emeltchenko.news@gmail.com \
    --cc=jaganath.k@samsung.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=s.syam@samsung.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox