[PATCH] pcnet_cs:fix misuse of the equality operator.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cord Walter
Date: Tuesday, February 3, 2009 - 3:59 am

pcnet_cs:
	fix misuse of the equality operator.


Signed-off-by: Cord Walter <qord@cwalter.net>
Signed-off-by: Komuro <komurojun-mbn@nifty.com>

---

--- linux-2.6.29-rc3/drivers/net/pcmcia/pcnet_cs.c.orig	2009-01-31 06:44:03.000000000 +0900
+++ linux-2.6.29-rc3/drivers/net/pcmcia/pcnet_cs.c	2009-01-31 06:44:21.000000000 +0900
@@ -586,7 +586,7 @@ static int pcnet_config(struct pcmcia_de
     }

     if ((link->conf.ConfigBase == 0x03c0)
-	&& (link->manf_id == 0x149) && (link->card_id = 0xc1ab)) {
+	&& (link->manf_id == 0x149) && (link->card_id == 0xc1ab)) {
 	printk(KERN_INFO "pcnet_cs: this is an AX88190 card!\n");
 	printk(KERN_INFO "pcnet_cs: use axnet_cs instead.\n");
 	goto failed;


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pcnet_cs: fix misuse of the equality operator., Cord Walter, (Sat Jan 31, 4:18 pm)
Re: pcnet_cs: fix misuse of the equality operator., Cord Walter, (Sun Feb 1, 2:36 am)
Re: pcnet_cs: fix misuse of the equality operator., David Miller, (Sun Feb 1, 2:43 am)
[PATCH] pcnet_cs:fix misuse of the equality operator., Cord Walter, (Tue Feb 3, 3:59 am)