linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: Andrei Emeltchenko <Andrei.Emeltchenko.news@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] android/tester: Fix wrong check
Date: Mon, 22 Dec 2014 13:57:58 +0100	[thread overview]
Message-ID: <23268185.nRTYMhQy2T@leonov> (raw)
In-Reply-To: <1419248256-31061-1-git-send-email-Andrei.Emeltchenko.news@gmail.com>

Hi Andrei,

On Monday 22 of December 2014 13:37:36 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
> 
> Fixes typo mixing exp_inst with rec_inst.
> ---
>  android/tester-main.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/android/tester-main.c b/android/tester-main.c
> index 8b6a117..336a9a8 100644
> --- a/android/tester-main.c
> +++ b/android/tester-main.c
> @@ -507,14 +507,14 @@ static bool match_mas_inst(btmce_mas_instance_t
> *exp_inst, return 0;
>  	}
> 
> -	if (exp_inst->scn && (exp_inst->scn != exp_inst->scn)) {
> +	if (exp_inst->scn && (exp_inst->scn != rec_inst->scn)) {
>  		tester_debug("MAS inst. [%d] scn missmatch %d vs %d", inst_num,
>  						rec_inst->scn, exp_inst->scn);
>  		return 0;
>  	}
> 
>  	if (exp_inst->msg_types &&
> -			(exp_inst->msg_types != exp_inst->msg_types)) {
> +			(exp_inst->msg_types != rec_inst->msg_types)) {
>  		tester_debug("Mas inst. [%d] mesg type missmatch %d vs %d",
>  					inst_num, rec_inst->scn, exp_inst->scn);
>  		return 0;

Applied, thanks.

-- 
BR
Szymon Janc

      reply	other threads:[~2014-12-22 12:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-22 11:37 [PATCH] android/tester: Fix wrong check Andrei Emeltchenko
2014-12-22 12:57 ` 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=23268185.nRTYMhQy2T@leonov \
    --to=szymon.janc@tieto.com \
    --cc=Andrei.Emeltchenko.news@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).