From: "Pali Rohár" <pali.rohar@gmail.com>
To: linux-bluetooth@vger.kernel.org,
Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Subject: bluez: avctp_connect_cb(): BT_IO_OPT_IMTU for omtu?
Date: Wed, 19 Jun 2019 18:03:20 +0200 [thread overview]
Message-ID: <20190619160320.kwumolq6sgetfuzf@pali> (raw)
[-- Attachment #1: Type: text/plain, Size: 508 bytes --]
Hello, in bluez source code is function avctp_connect_cb() with
following code:
bt_io_get(chan, &gerr,
BT_IO_OPT_DEST, &address,
BT_IO_OPT_IMTU, &imtu,
BT_IO_OPT_IMTU, &omtu,
BT_IO_OPT_INVALID);
Why is BT_IO_OPT_IMTU used for retrieving omtu? Should not be there
BT_IO_OPT_OMTU for retrieving omtu? Seems like a typo: imtu vs omtu.
Above code was introduced in commit b5666a3747 (AVCTP: Allocate memory
to hold incoming/outgoing PDUs).
--
Pali Rohár
pali.rohar@gmail.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next reply other threads:[~2019-06-19 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-19 16:03 Pali Rohár [this message]
2019-07-03 10:39 ` bluez: avctp_connect_cb(): BT_IO_OPT_IMTU for omtu? Pali Rohár
2019-07-03 12:44 ` Luiz Augusto von Dentz
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=20190619160320.kwumolq6sgetfuzf@pali \
--to=pali.rohar@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
/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