On 8/24/21 5:52 PM, Luiz Augusto von Dentz wrote:
From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> This makes the GATT Attribute cache to be removed when device is removed just like SDP ServiceRecords. Fixes: https://github.com/bluez/bluez/issues/191 ---
Tested-by: David Lechner <david@xxxxxxxxxxxxxx> But wouldn't it be better to just delete the file altogether? This would prevent any future sections from being forgotten to be removed as well. I sent an alternative patch that does this: "device: delete cache file when device is removed"