aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Denison <openwrt@marshadder.org>2008-05-12 19:46:53 +0000
committerPeter Denison <openwrt@marshadder.org>2008-05-12 19:46:53 +0000
commit3b5902a54aa7b008a9496d5b0315de36017e94c8 (patch)
tree648dfc31350a098dc34bab5995892e2ef8082561 /package
parent95ffc793a90437fe92abeb5edd3993ab3228d6c0 (diff)
downloadmaster-187ad058-3b5902a54aa7b008a9496d5b0315de36017e94c8.tar.gz
master-187ad058-3b5902a54aa7b008a9496d5b0315de36017e94c8.tar.bz2
master-187ad058-3b5902a54aa7b008a9496d5b0315de36017e94c8.zip
Fix typo in broadcom-diag LED output enable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11125 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/broadcom-diag/src/diag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c
index b670944e02..df28cab297 100644
--- a/package/broadcom-diag/src/diag.c
+++ b/package/broadcom-diag/src/diag.c
@@ -990,7 +990,7 @@ static void register_leds(struct led_t *l)
l->state = 0;
set_led_extif(l);
} else {
- if (l->polarity != INPUT) oe_mask != l->gpio;
+ if (l->polarity != INPUT) oe_mask |= l->gpio;
mask |= l->gpio;
val |= (l->polarity == NORMAL)?0:l->gpio;
}