diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-01-25 19:53:05 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2022-01-25 22:42:53 +0100 |
commit | 314d8cd2787418c5ac6b02035c344644f47b292b (patch) | |
tree | 9606351058a267a745bc3c0bc67bd0d1246b3637 /drivers/bluetooth | |
parent | Bluetooth: hci_core: Rate limit the logging of invalid SCO handle (diff) | |
download | linux-314d8cd2787418c5ac6b02035c344644f47b292b.tar.xz linux-314d8cd2787418c5ac6b02035c344644f47b292b.zip |
Bluetooth: hci_event: Fix HCI_EV_VENDOR max_len
HCI_EV_VENDOR is in fact variable length since it acts as metaevent
where a vendor can implement their own event sets.
In addition to it this makes use of bt_dev_warn_ratelimited to supress
the amount of logging in case the event has more data than expected.
Fixes: 3e54c5890c87 ("Bluetooth: hci_event: Use of a function table to handle HCI event")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions