Commit c8992cff authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz Committed by Marcel Holtmann
Browse files

Bluetooth: hci_event: Use of a function table to handle Command Complete



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

Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 95118dd4
Loading
Loading
Loading
Loading
+752 −1096

File changed.

Preview size limit exceeded, changes collapsed.