Skip to content

Commit

Permalink
Bluetooth: hci_event: Use of a function table to handle HCI events
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luiz Augusto von Dentz authored and Marcel Holtmann committed Dec 7, 2021
1 parent a367964 commit 3e54c58
Show file tree
Hide file tree
Showing 3 changed files with 392 additions and 516 deletions.
Loading

0 comments on commit 3e54c58

Please sign in to comment.