netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3] isdn: incorrect assignments in if
@ 2007-10-26 17:26 Roel Kluin
  0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2007-10-26 17:26 UTC (permalink / raw)
  To: netdev

    incorrect assignments in if
    
    Signed-off-by: Roel Kluin <12o3l@tiscali.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",

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-26 17:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 17:26 [PATCH 3] isdn: incorrect assignments in if Roel Kluin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).