Bluetooth: btintel: Consolidate intel_version_tlv parsing
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 23 Mar 2021 18:58:58 +0000 (11:58 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 25 Mar 2021 15:09:45 +0000 (16:09 +0100)
commit0a460d8fe2db6887169a19b048ea0c90f8bdc3b7
treea1f41c11685c3854cc5de6f1a99a828510326181
parent9b16bfbf411664697817385096ce59df453e1fb6
Bluetooth: btintel: Consolidate intel_version_tlv parsing

This moves version checks of intel_version_tlv() to btintel_version_info_tlv().

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tested-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btintel.c
drivers/bluetooth/btintel.h
drivers/bluetooth/btusb.c