Commit 951f2a21 authored by Federico Vaga's avatar Federico Vaga

wrtd:rt: fix clean procedure on trigger remove

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 0aab136f
......@@ -201,7 +201,7 @@ void rtfd_trigger_entry_remove(struct lrt_hash_entry *ent, unsigned int output)
/* Remove the entire entry when we don't have rule */
for (i = 0; i < FD_NUM_CHANNELS; i++)
if (ord_tlist[index]->ocfg[output].state != HASH_ENT_EMPTY)
if (ord_tlist[index]->ocfg[i].state != HASH_ENT_EMPTY)
break;
if (i < FD_NUM_CHANNELS)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment