]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_event: Use of a function table to handle Command Status
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 1 Dec 2021 18:55:06 +0000 (10:55 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Dec 2021 16:05:51 +0000 (17:05 +0100)
commit491b8fc5d30369c84fd4483afc4466aa6bfa81bc
tree2be3b7f4fe63e5a4def15d3eda56b4db092299d2
parente50626a4ec72763116257a4774d67807e6fea706
Bluetooth: hci_event: Use of a function table to handle Command Status

This change the use of switch statement to a function table which is
easier to extend.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c