Bluetooth: Remove codec id field in vendor codec definition
authorChethan T N <chethan.tumkur.narayan@intel.com>
Tue, 22 Nov 2022 09:02:56 +0000 (14:32 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 2 Dec 2022 21:09:31 +0000 (13:09 -0800)
As per the specfication vendor codec id is defined.
BLUETOOTH CORE SPECIFICATION Version 5.3 | Vol 4, Part E page 2127

Fixes: 9ae664028a9e ("Bluetooth: Add support for Read Local Supported Codecs V2")
Signed-off-by: Chethan T N <chethan.tumkur.narayan@intel.com>
Signed-off-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci.h

index 0fe789f..684f1cd 100644 (file)
@@ -1435,7 +1435,6 @@ struct hci_std_codecs_v2 {
 } __packed;
 
 struct hci_vnd_codec_v2 {
-       __u8    id;
        __le16  cid;
        __le16  vid;
        __u8    transport;