Bluetooth: hci_event: Use of a function table to handle HCI events

This change the use of switch statement to a function table
which is easier to extend and can include min/max length of each HCI
event.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Luiz Augusto von Dentz
2021-12-01 10:55:03 -08:00
committed by Marcel Holtmann
parent a3679649a1
commit 3e54c5890c
3 changed files with 392 additions and 516 deletions

File diff suppressed because it is too large Load Diff