Commit: 078a047f6a40b0acf67861d01f1f2cb7bb50d024
Parent: 4bf47f880d061891effbf0f9532c4e2277a4ece6
Author: Andrey Smirnov <andrew.smirnov@gmail.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-11-17 18:19:40
Tree: 5b2b902b797dc185a2e5460c401983f5e62d7975

device: Fix the return type of device_irk_cmp() The return value from device_irk_cmp() is returned directly from device_addr_type_cmp() which implements a memcmp()-like interface, so we need to return an int() and a zero for equality. Returning bool will cause false positives since false is 0 and true is 1. Fixes: f1fb4f95f49e ("core: Fix not resolving addresses")

Diffstat

M src/device.c | 8 ++++- - - -

1 files changed, 4 insertions(+), 4 deletions(-)

View Full Diff | Patch