summaryrefslogtreecommitdiffstats
path: root/package/broadcom-diag
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
commit06c7c0428831969f02dcb5585edb859cf7025640 (patch)
treee2b22ca2974b20e95bb53b390bcc60767d95a493 /package/broadcom-diag
parentb64c4c6b403a3ca43043c5ff98d6b2e4504e0a79 (diff)
downloadmaster-31e0f0ae-06c7c0428831969f02dcb5585edb859cf7025640.tar.gz
master-31e0f0ae-06c7c0428831969f02dcb5585edb859cf7025640.tar.bz2
master-31e0f0ae-06c7c0428831969f02dcb5585edb859cf7025640.zip
Fix typo in broadcom-diag LED output enable
SVN-Revision: 11125
Diffstat (limited to 'package/broadcom-diag')
-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;
}