]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: MGMT: Ignore keys being loaded with invalid type
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 27 Aug 2024 19:01:34 +0000 (15:01 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 30 Aug 2024 21:57:11 +0000 (17:57 -0400)
commit1e9683c9b6ca88cc9340cdca85edd6134c8cffe3
treecb581b4bd00a985ab5b316020e59e33be253de40
parent532f8bcd1c2c4e8112f62e1922fd1703bc0ffce0
Bluetooth: MGMT: Ignore keys being loaded with invalid type

Due to 59b047bc98084f8af2c41483e4d68a5adf2fa7f7 there could be keys stored
with the wrong address type so this attempt to detect it and ignore them
instead of just failing to load all keys.

Cc: stable@vger.kernel.org
Link: https://github.com/bluez/bluez/issues/875
Fixes: 59b047bc9808 ("Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/mgmt.c