]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Read codec capabilities only if supported
authorKiran K <kiran.k@intel.com>
Tue, 5 Oct 2021 14:45:56 +0000 (20:15 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 7 Oct 2021 15:57:22 +0000 (17:57 +0200)
commit092fdbef3cdb424fa04f7c041de644efad0eb168
tree8af5287bba081e8d43083d5ee7229593a8877ab2
parent9182f63d4661a4485c33a3c31e716880c6647cc4
Bluetooth: Read codec capabilities only if supported

Read codec capabilities only if HCI_READ_LOCAL_CODEC_CAPABILITIES
command is supported. If capablities are not supported, then
cache codec data without caps.

Signed-off-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_codec.c