broadcom-diag: reset the interrupt mask of configured leds to avoid spurious interrupts
[openwrt.git] / package / hotplug2 / patches / 110-parser_fixes.patch
1 Index: hotplug2-0.9/rules.c
2 ===================================================================
3 --- hotplug2-0.9.orig/rules.c 2007-07-18 09:15:38.968308540 +0200
4 +++ hotplug2-0.9/rules.c 2007-07-18 09:18:52.135316499 +0200
5 @@ -756,6 +756,7 @@
6 ERROR("rules parse","Unable to parse rules file.");
7 return -1;
8 }
9 + *return_rules = rules;
10
11 unmap_file(&filemap);
12
13 @@ -997,7 +998,8 @@
14
15 if (!terminate) {
16 /* A little bit hacky cleanup */
17 - return_rules->rules_c--;
18 + if (!nested)
19 + return_rules->rules_c--;
20 return return_rules;
21 } else {
22 /*
This page took 0.044088 seconds and 5 git commands to generate.