nimble/controller: Fix setting LE Coded PHY feature flag

Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/b07f4a7f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/b07f4a7f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/b07f4a7f

Branch: refs/heads/bluetooth5
Commit: b07f4a7fe11517b1d8b4272eb59ad662a84df452
Parents: 8ae34ad
Author: Andrzej Kaczmarek <[email protected]>
Authored: Tue May 9 15:43:47 2017 +0200
Committer: Andrzej Kaczmarek <[email protected]>
Committed: Wed May 17 11:56:17 2017 +0200

----------------------------------------------------------------------
 net/nimble/controller/src/ble_ll.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b07f4a7f/net/nimble/controller/src/ble_ll.c
----------------------------------------------------------------------
diff --git a/net/nimble/controller/src/ble_ll.c 
b/net/nimble/controller/src/ble_ll.c
index 930b44e..68b9ce4 100644
--- a/net/nimble/controller/src/ble_ll.c
+++ b/net/nimble/controller/src/ble_ll.c
@@ -1352,7 +1352,7 @@ ble_ll_init(void)
     features |= BLE_LL_FEAT_LE_2M_PHY;
 #endif
 
-#if (MYNEWT_VAL(BLE_LL_CFG_FEAT_LE_CSA2) == 1)
+#if (MYNEWT_VAL(BLE_LL_CFG_FEAT_LE_CODED_PHY) == 1)
     features |= BLE_LL_FEAT_LE_CODED_PHY;
 #endif
 

Reply via email to