]> git.dujemihanovic.xyz Git - linux.git/commit
Bluetooth: btintel: Fix bdaddress comparison with garbage value
authorKiran K <kiran.k@intel.com>
Wed, 13 Oct 2021 08:05:11 +0000 (13:35 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 13 Oct 2021 12:30:53 +0000 (14:30 +0200)
commit893505319c74cf3faa45a5ed9d5338ff03b66949
treed92a6c4d910c58b4375cf50433562363161b10fc
parent5a4bb6a8e981d3d0d492aa38412ee80b21033177
Bluetooth: btintel: Fix bdaddress comparison with garbage value

Intel Read Verision(TLV) data is parsed into a local structure variable
and it contains a field for bd address. Bd address is returned only in
bootloader mode and hence bd address in TLV structure needs to be validated
only if controller is present in boot loader mode.

Signed-off-by: Kiran K <kiran.k@intel.com>
Reviewed-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btintel.c