Skip to content

Commit

Permalink
mesh: Fix macro in net.c
Browse files Browse the repository at this point in the history
  • Loading branch information
KKopyscinski authored and Michał Narajowski committed May 27, 2021
1 parent 5ea192a commit a4d3fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimble/host/mesh/src/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ static void bt_mesh_net_local(struct ble_npl_event *work)

static const struct bt_mesh_net_cred *net_tx_cred_get(struct bt_mesh_net_tx *tx)
{
#if defined(CONFIG_BT_MESH_LOW_POWER)
#if IS_ENABLED(CONFIG_BT_MESH_LOW_POWER)
if (tx->friend_cred && bt_mesh_lpn_established()) {
return &bt_mesh.lpn.cred[SUBNET_KEY_TX_IDX(tx->sub)];
}
Expand Down

0 comments on commit a4d3fb4

Please sign in to comment.