mesh: Fix condition is net_tx_cred_get
Preprocessor directives using defined() in mesh should use
identifiers defined in glue.h
@@ -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(BLE_MESH_LOW_POWER)
+#if defined(CONFIG_BT_MESH_LOW_POWER)
if (tx->friend_cred && bt_mesh_lpn_established()) {
return &bt_mesh.lpn.cred[SUBNET_KEY_TX_IDX(tx->sub)];
}
