summaryrefslogtreecommitdiff
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
parentb64c4c6b403a3ca43043c5ff98d6b2e4504e0a79 (diff)
downloadmtk-20170518-06c7c0428831969f02dcb5585edb859cf7025640.zip
mtk-20170518-06c7c0428831969f02dcb5585edb859cf7025640.tar.gz
mtk-20170518-06c7c0428831969f02dcb5585edb859cf7025640.tar.bz2
Fix typo in broadcom-diag LED output enable
SVN-Revision: 11125
-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 b670944..df28cab 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;
}