From: Greg KH <gregkh@linuxfoundation.org>
To: Mike <mpagano@gentoo.org>
Cc: stable@vger.kernel.org, pav@iki.fi
Subject: Re: Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS
Date: Thu, 19 Aug 2021 07:44:38 +0200 [thread overview]
Message-ID: <YR3vxtQuhyPG/SHW@kroah.com> (raw)
In-Reply-To: <a680e819-74da-0c40-9812-9f4e748dc20b@gentoo.org>
On Wed, Aug 18, 2021 at 07:04:47PM -0400, Mike wrote:
> From: Pauli Virtanen <pav@iki.fi>
> Kernel Version 5.13
>
> commit 55981d3541812234e687062926ff199c83f79a39 upstream.
There is no such commit in Linus's tree :(
> - new_alts = btusb_find_altsetting(data, 6) ? 6 : 1;
> - /* Because mSBC frames do not need to be aligned to the
> - * SCO packet boundary. If support the Alt 3, use the
> - * Alt 3 for HCI payload >= 60 Bytes let air packet
> - * data satisfy 60 bytes.
> - */
> - if (new_alts == 1 && btusb_find_altsetting(data, 3))
> + if (btusb_find_altsetting(data, 6))
> + new_alts = 6;
> + else if (btusb_find_altsetting(data, 3) &&
> + hdev->sco_mtu >= 72 &&
> + test_bit(BTUSB_USE_ALT3_FOR_WBS, &data->flags))
> new_alts = 3;
Your patch is also corrupted and could not be applied :(
next prev parent reply other threads:[~2021-08-19 5:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-18 23:04 Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS Mike
2021-08-19 5:44 ` Greg KH [this message]
2021-08-19 11:24 ` Mike Pagano
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=YR3vxtQuhyPG/SHW@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=mpagano@gentoo.org \
--cc=pav@iki.fi \
--cc=stable@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.