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=f47a7622f815a4e0e7b9796cbe8f5129f5e19c48;p=openwrt%2Fsvn-archive%2Farchive.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 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; }