From 73723cbc1d095fcf1b24687078abe6549467cd98 Mon Sep 17 00:00:00 2001 From: noz Date: Mon, 12 May 2008 19:46:53 +0000 Subject: [PATCH] Fix typo in broadcom-diag LED output enable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11125 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 b670944e0..df28cab29 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; }