From: "João Paulo Rechi Vita" <jprvita@openbossa.org>
To: linux-bluetooth@vger.kernel.org
Cc: "João Paulo Rechi Vita" <jprvita@openbossa.org>
Subject: [PATCH BlueZ] time: fix daylight variable description
Date: Tue, 10 Jul 2012 10:58:22 -0300 [thread overview]
Message-ID: <1341928702-9024-1-git-send-email-jprvita@openbossa.org> (raw)
In-Reply-To: <CAJdJm_Po4UXnVWWEy0cBEtPWHOs3pS_6Rd1uJ6O2xxvO2WVXew@mail.gmail.com>
---
time/server.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/time/server.c b/time/server.c
index ddf88ae..d7bcf2d 100644
--- a/time/server.c
+++ b/time/server.c
@@ -111,8 +111,9 @@ static uint8_t local_time_info_read(struct attribute *a,
* format (offset from UTC in number of 15 minutes increments). */
value[0] = (uint8_t) (-1 * timezone / (60 * 15));
- /* FIXME: POSIX "daylight" variable only indicates whether there is DST
- * for the local time or not. The offset is unknown. */
+ /* FIXME: POSIX "daylight" variable only indicates if DST is used for
+ * the local time or not. Both the offset and whether it's currently
+ * active is unknown. */
value[1] = daylight ? 0xff : 0x00;
attrib_db_update(adapter, a->handle, NULL, value, sizeof(value), NULL);
--
1.7.10.4
next prev parent reply other threads:[~2012-07-10 13:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-05 17:37 [PATCH BlueZ 1/2] time: fix byte position João Paulo Rechi Vita
2012-07-05 17:37 ` [PATCH BlueZ 2/2] time: fix daylight variable description João Paulo Rechi Vita
2012-07-05 17:50 ` Anderson Lizardo
2012-07-10 13:58 ` João Paulo Rechi Vita [this message]
2012-07-05 21:39 ` [PATCH BlueZ 1/2] time: fix byte position Anderson Lizardo
2012-07-10 14:03 ` Joao Paulo Rechi Vita
2012-07-19 14:55 ` Johan Hedberg
2012-07-19 17:46 ` João Paulo Rechi Vita
2012-07-23 21:33 ` 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=1341928702-9024-1-git-send-email-jprvita@openbossa.org \
--to=jprvita@openbossa.org \
--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).