<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Looks good.</p>
    <p>Thanks,<br>
      Daniel<br>
    </p>
    <div class="moz-signature">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <title></title>
      <pre>      
</pre>
    </div>
    <div class="moz-cite-prefix">On 2021-04-15 11:52, Moyano, Gabriel
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:20210415095200.29213-2-gabriel.moyano@dlr.de">
      <pre class="moz-quote-pre" wrap="">---
 bsps/shared/grlib/irq/genirq.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsps/shared/grlib/irq/genirq.c b/bsps/shared/grlib/irq/genirq.c
index 285416b0d3..ca80445c70 100644
--- a/bsps/shared/grlib/irq/genirq.c
+++ b/bsps/shared/grlib/irq/genirq.c
@@ -188,8 +188,8 @@ static int genirq_set_active(
                                return 1;
                        }
                        e = isrentry;
-               } else {
-                       enabled += isrentry->enabled;
+               } else if ( isrentry->enabled ) {
+                       enabled = 1;
                }
                isrentry = isrentry->next;
        }
</pre>
    </blockquote>
  </body>
</html>