From 06c7c0428831969f02dcb5585edb859cf7025640 Mon Sep 17 00:00:00 2001 From: Peter Denison Date: Mon, 12 May 2008 19:46:53 +0000 Subject: Fix typo in broadcom-diag LED output enable SVN-Revision: 11125 --- package/broadcom-diag/src/diag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3