* [PATCH] adapter: Fix setting discoverable mode from settings
@ 2012-12-21 13:13 Szymon Janc
2012-12-21 13:52 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Szymon Janc @ 2012-12-21 13:13 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Szymon Janc
Discoverable mode was not set to correct value read from settings.
---
src/adapter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/adapter.c b/src/adapter.c
index 55f03a4..6ff20e1 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2630,7 +2630,7 @@ static void load_config(struct btd_adapter *adapter)
} else if (stored_discoverable != adapter->discoverable) {
if (adapter->connectable)
mgmt_set_discoverable(adapter->dev_id,
- adapter->discoverable,
+ stored_discoverable,
adapter->discov_timeout);
else
adapter->toggle_discoverable = true;
--
1.8.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] adapter: Fix setting discoverable mode from settings
2012-12-21 13:13 [PATCH] adapter: Fix setting discoverable mode from settings Szymon Janc
@ 2012-12-21 13:52 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-12-21 13:52 UTC (permalink / raw)
To: Szymon Janc; +Cc: linux-bluetooth
Hi Szymon,
On Fri, Dec 21, 2012, Szymon Janc wrote:
> Discoverable mode was not set to correct value read from settings.
> ---
> src/adapter.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-21 13:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-21 13:13 [PATCH] adapter: Fix setting discoverable mode from settings Szymon Janc
2012-12-21 13:52 ` Johan Hedberg
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).