diff options
| author | 2026-07-21 03:14:40 -0700 | |
|---|---|---|
| committer | 2026-08-07 15:38:30 -0400 | |
| commit | 47386974699370c015feb3fd5c1e7b33f78fa6ae (patch) | |
| tree | a9a18be02659ab88ab824ae39af750e204cc4935 /scripts/Makefile.thinlto | |
| parent | Bluetooth: hci_ldisc: reject invalid tty write lengths (diff) | |
Bluetooth: hci_qca: Replace HCI_VENDOR_PKT usage with HCI_EV_VENDOR
The macros below have different meanings even though they share the
same value 0xff:
HCI_VENDOR_PKT: HCI packet indicator or type
HCI_EV_VENDOR: event code of a VSE
This usage of HCI_VENDOR_PKT is wrongly checking an event code.
Fix by using HCI_EV_VENDOR for event code.
Also fix warning "CHECK: Unnecessary parentheses around comparison"
given by checkpatch.pl.
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
