From: Johan Hedberg <johan.hedberg@gmail.com>
To: Szymon Janc <szymon.janc@codecoup.pl>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] adapter: Fix not clearing connectable setting on power off
Date: Fri, 16 Feb 2018 21:17:49 +0200 [thread overview]
Message-ID: <20180216191749.GA4619@x1c> (raw)
In-Reply-To: <20180208154638.15196-1-szymon.janc@codecoup.pl>
Hi Szymon,
On Thu, Feb 08, 2018, Szymon Janc wrote:
> + /* if timeout was set kernel clears discoverable on its own */
> + if (!adapter->discoverable_timeout)
> + return;
Isn't this condition inverted? I.e. you want to call Set Connectable if
the timeout is 0?
Johan
next prev parent reply other threads:[~2018-02-16 19:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-08 15:46 [PATCH] adapter: Fix not clearing connectable setting on power off Szymon Janc
2018-02-16 19:17 ` Johan Hedberg [this message]
2018-02-19 9:21 ` Szymon Janc
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=20180216191749.GA4619@x1c \
--to=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=szymon.janc@codecoup.pl \
/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