This patch modifies gap device found flags to be bit masks as in other defined flags groups in btp. --- src/shared/btp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/btp.h b/src/shared/btp.h index 5044de822..7b1f48817 100644 --- a/src/shared/btp.h +++ b/src/shared/btp.h @@ -241,9 +241,9 @@ struct btp_new_settings_ev { uint32_t current_settings; } __packed; -#define BTP_EV_GAP_DEVICE_FOUND_FLAG_RSSI 0x00 -#define BTP_EV_GAP_DEVICE_FOUND_FLAG_AD 0x01 -#define BTP_EV_GAP_DEVICE_FOUND_FLAG_SR 0x02 +#define BTP_EV_GAP_DEVICE_FOUND_FLAG_RSSI 0x01 +#define BTP_EV_GAP_DEVICE_FOUND_FLAG_AD 0x02 +#define BTP_EV_GAP_DEVICE_FOUND_FLAG_SR 0x04 #define BTP_EV_GAP_DEVICE_FOUND 0x81 struct btp_device_found_ev { -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html