From d42987acf4065efbdef774f6336bfdc9164138c8 Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Tue, 22 Nov 2016 21:17:46 +0100 Subject: [PATCH] Bluetooth: Controller: Fix local LE supported features bitmap Correct the local LE supported features bitmap to actually "or" together all the bits that correspond to the set of features that are implemented at this time. Change-Id: I0c62ec566c775514250fcf062aeef6c9656719e3 Signed-off-by: Carles Cufi --- subsys/bluetooth/controller/ll/ctrl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/subsys/bluetooth/controller/ll/ctrl.h b/subsys/bluetooth/controller/ll/ctrl.h index 8b57854d159..b435d32b616 100644 --- a/subsys/bluetooth/controller/ll/ctrl.h +++ b/subsys/bluetooth/controller/ll/ctrl.h @@ -84,12 +84,12 @@ #define RADIO_BLE_COMPANY_ID (0xFFFF) #define RADIO_BLE_SUB_VERSION_NUMBER (0xFFFF) -#define RADIO_BLE_FEATURES (BT_LE_FEAT_BIT_ENC | \ - BT_LE_FEAT_BIT_CONN_PARAM_REQ | \ - BT_LE_FEAT_BIT_EXT_REJ_IND | \ - BT_LE_FEAT_BIT_SLAVE_FEAT_REQ | \ - BT_LE_FEAT_BIT_PING | \ - BT_LE_FEAT_BIT_DLE) +#define RADIO_BLE_FEATURES (BIT(BT_LE_FEAT_BIT_ENC) | \ + BIT(BT_LE_FEAT_BIT_CONN_PARAM_REQ) | \ + BIT(BT_LE_FEAT_BIT_EXT_REJ_IND) | \ + BIT(BT_LE_FEAT_BIT_SLAVE_FEAT_REQ) | \ + BIT(BT_LE_FEAT_BIT_PING) | \ + BIT(BT_LE_FEAT_BIT_DLE)) /***************************************************************************** * Controller Reference Defines (compile time override-able)