Message ID | 20211119082027.12809-6-kiran.k@intel.com |
---|---|
State | Superseded |
Headers | show |
Series | [v4,01/14] Bluetooth: Refactor code to read supported codecs in getsockopt | expand |
Hi Kiran, On Fri, Nov 19, 2021 at 12:16 AM Kiran K <kiran.k@intel.com> wrote: > > Remove unused "u8 id" member in struct hci_vnd_codec_v2. Vendor codec > is identifiable by Company Id and Vendor Id fields. > > Signed-off-by: Kiran K <kiran.k@intel.com> > Reviewed-by: Chethan T N <chethan.tumkur.narayan@intel.com> > Reviewed-by: Srivatsa Ravishankar <ravishankar.srivatsa@intel.com> > --- > include/net/bluetooth/hci.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h > index e52fd2f1e046..54fae19f3758 100644 > --- a/include/net/bluetooth/hci.h > +++ b/include/net/bluetooth/hci.h > @@ -1395,7 +1395,6 @@ struct hci_std_codecs_v2 { > } __packed; > > struct hci_vnd_codec_v2 { > - __u8 id; > __le16 cid; > __le16 vid; > __u8 transport; > -- > 2.17.1 Not following this change, afaik LC3 for example should be id 0x06 cid/vid 0x0000 as that is not a vendor, or this is never used for codecs defined in the spec?
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index e52fd2f1e046..54fae19f3758 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -1395,7 +1395,6 @@ struct hci_std_codecs_v2 { } __packed; struct hci_vnd_codec_v2 { - __u8 id; __le16 cid; __le16 vid; __u8 transport;