Re: Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 18, 2021 at 07:04:47PM -0400, Mike wrote:
> From: Pauli Virtanen <pav@xxxxxx>
> 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 :(




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux