|
@@ -658,7 +658,6 @@ static enum policy_engine_state pe_sink_source_unresponsive(struct pdb_config *c
|
658
|
658
|
/*
|
659
|
659
|
* Policy Engine state machine thread
|
660
|
660
|
*/
|
661
|
|
-static THD_WORKING_AREA(waPolicyEngine, 128);
|
662
|
661
|
static THD_FUNCTION(PolicyEngine, cfg) {
|
663
|
662
|
enum policy_engine_state state = PESinkStartup;
|
664
|
663
|
|
|
@@ -723,6 +722,6 @@ static THD_FUNCTION(PolicyEngine, cfg) {
|
723
|
722
|
|
724
|
723
|
void pdb_pe_run(struct pdb_config *cfg)
|
725
|
724
|
{
|
726
|
|
- pdb_pe_thread = chThdCreateStatic(waPolicyEngine, sizeof(waPolicyEngine),
|
|
725
|
+ pdb_pe_thread = chThdCreateStatic(cfg->pe._wa, sizeof(cfg->pe._wa),
|
727
|
726
|
PDB_PRIO_PE, PolicyEngine, cfg);
|
728
|
727
|
}
|