From: Peter Denison Date: Mon, 12 May 2008 19:46:53 +0000 (+0000) Subject: Fix typo in broadcom-diag LED output enable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=06c7c0428831969f02dcb5585edb859cf7025640;p=openwrt%2Fstaging%2Frmilecki.git Fix typo in broadcom-diag LED output enable SVN-Revision: 11125 --- diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index b670944e02d..df28cab297b 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; }