From: Liang Bao <tim.bao@gmail.com>
To: Johan Hedberg <johan.hedberg@gmail.com>, marcel@holtmann.org
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Allow disable park state in main.conf
Date: Fri, 5 Mar 2010 20:23:38 +0800 [thread overview]
Message-ID: <6aeb672b1003050423y7b97ae57we98b5d18435c84a2@mail.gmail.com> (raw)
In-Reply-To: <4b87e4aa.1408c00a.502e.056f@mx.google.com>
We've changed to a hex value as "DefaultLinkPolicy" as following:
diff --git a/src/main.conf b/src/main.conf
index b03e169..196d703 100644
--- a/src/main.conf
+++ b/src/main.conf
@@ -50,3 +50,10 @@ ReverseServiceDiscovery = true
# Enable name resolving after inquiry. Set it to 'false' if you don't need
# remote devices name and want shorter discovery cycle. Defaults to 'true'.
NameResolving = true
+
+# The link policy for connections. By default it's set to 0x000f which is
+# a bitwise OR of role switch(0x0001), hold mode(0x0002), sniff mode(0x0004)
+# and park state(0x0008) are all enabled. However, some devices have
+# connection stability issue or fail to setup SCO when the link is in park
+# state, which requires park state bit cleared.
+DefaultLinkPolicy = 0x000f
Does this look better? If yes I can re-generate a patch and send in a
separate thread.
next prev parent reply other threads:[~2010-03-05 12:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-26 15:11 [PATCH] Allow disable park state in main.conf Bao Liang
2010-03-05 12:23 ` Liang Bao [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-02-26 13:32 Liang Bao
2010-02-26 14:38 ` Johan Hedberg
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=6aeb672b1003050423y7b97ae57we98b5d18435c84a2@mail.gmail.com \
--to=tim.bao@gmail.com \
--cc=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.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