zephyr/subsys/bluetooth
Johan Hedberg c9647a55fe Bluetooth: Classic: Fix invalid comparison with int8_t
We can't use 0xff to compare with an int8_t since it'll trigger compiler
warnings/errors:

subsys/bluetooth/host/classic/br.c:397:11: error: result of comparison of
constant 255 with expression of type 'int8_t' (aka 'signed char') is
always false [-Werror,-Wtautological-constant-out-of-range-compare]
        if (rssi == 0xff) {
            ~~ ^  ~~
1 error generated.

Use 127 instead for situations where we don't know the RSSI value, like
when processing remote name events. This is fine since from a spec
perspective only -127 - +20 are valid values for the parameter.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2025-01-16 14:37:44 +01:00
..
audio Bluetooth: BAP: Add common capability check 2025-01-15 19:04:31 +01:00
common bluetooth: shell: move bt_shell_private.c to common folder 2025-01-14 10:56:16 +01:00
controller Bluetooth: controller: Fixup Broadcast ISO pre-transmission groups > 1 2025-01-14 15:37:53 +01:00
crypto Bluetooth: crypto: add select PSA_WANT_ALG_ECB_NO_PADDING 2025-01-15 22:57:20 +01:00
host Bluetooth: Classic: Fix invalid comparison with int8_t 2025-01-16 14:37:44 +01:00
lib
mesh Bluetooth: make MBEDTLS_AES_ROM_TABLES implied not selected 2025-01-15 22:57:20 +01:00
services bluetooth: mesh: shell: eliminate ctx_shell usage 2025-01-14 10:56:16 +01:00
CMakeLists.txt Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
Kconfig Bluetooth: ISO: Move contents of Kconfig.iso to common Kconfig 2025-01-15 01:39:35 +01:00
Kconfig.adv Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
Kconfig.logging Bluetooth: AVRCP: Implemation of AVRCP. 2024-11-18 13:19:07 -05:00