public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@codecoup.pl>
To: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@codecoup.pl>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] monitor/avdtp: Correct bit mask for TSEP
Date: Sat, 10 Jun 2017 21:21:19 +0200	[thread overview]
Message-ID: <2027586.XSW9BB2509@ix> (raw)
In-Reply-To: <20170607083944.9188-1-grzegorz.kolodziejczyk@codecoup.pl>

Hi Grzegorz,

On Wednesday, 7 June 2017 10:39:44 CEST Grzegorz Kolodziejczyk wrote:
> According to AVDP specification 1.3 (8.6.2 Stream End Point Discovery
> Response), TSEP bit is on 3rd position of 3rd frame byte.
> ---
>  monitor/avdtp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/monitor/avdtp.c b/monitor/avdtp.c
> index 006daf3..f5ef4c0 100644
> --- a/monitor/avdtp.c
> +++ b/monitor/avdtp.c
> @@ -368,7 +368,7 @@ static bool avdtp_discover(struct avdtp_frame
> *avdtp_frame) print_field("%*cMedia Type: %s (0x%02x)", 2, ' ',
>  					mediatype2str(info >> 4), info >> 4);
>  			print_field("%*cSEP Type: %s (0x%02x)", 2, ' ',
> -						info & 0x04 ? "SNK" : "SRC",
> +						info & 0x08 ? "SNK" : "SRC",
>  						(info >> 3) & 0x01);
>  			print_field("%*cIn use: %s", 2, ' ',
>  						seid & 0x02 ? "Yes" : "No");


Applied, thanks.

-- 
pozdrawiam
Szymon Janc

      reply	other threads:[~2017-06-10 19:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-07  8:39 [PATCH] monitor/avdtp: Correct bit mask for TSEP Grzegorz Kolodziejczyk
2017-06-10 19:21 ` Szymon Janc [this message]

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=2027586.XSW9BB2509@ix \
    --to=szymon.janc@codecoup.pl \
    --cc=grzegorz.kolodziejczyk@codecoup.pl \
    --cc=linux-bluetooth@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox