[<prev] [next>] [day] [month] [year] [list]
Message-ID: <47222341.9040609@tiscali.nl>
Date: Fri, 26 Oct 2007 19:26:25 +0200
From: Roel Kluin <12o3l@...cali.nl>
To: netdev@...r.kernel.org
Subject: [PATCH 3] isdn: incorrect assignments in if
incorrect assignments in if
Signed-off-by: Roel Kluin <12o3l@...cali.nl>
---
diff --git a/drivers/isdn/hisax/elsa.c b/drivers/isdn/hisax/elsa.c
index 948a9b2..ed610ed 100644
--- a/drivers/isdn/hisax/elsa.c
+++ b/drivers/isdn/hisax/elsa.c
@@ -883,7 +883,7 @@ setup_elsa_isa(struct IsdnCard *card)
val += 'A' - 3;
if (val == 'B' || val == 'C')
val ^= 1;
- if ((cs->subtyp == ELSA_PCFPRO) && (val = 'G'))
+ if ((cs->subtyp == ELSA_PCFPRO) && (val == 'G'))
val = 'C';
printk(KERN_INFO
"Elsa: %s found at %#lx Rev.:%c IRQ %d\n",
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists