pcnet_cs: Fix misuse of the equality operator.
authorCord Walter <qord@cwalter.net>
Tue, 3 Feb 2009 23:14:05 +0000 (15:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Feb 2009 23:14:05 +0000 (15:14 -0800)
Signed-off-by: Cord Walter <qord@cwalter.net>
Signed-off-by: Komuro <komurojun-mbn@nifty.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcmcia/pcnet_cs.c

index c38ed77..a699940 100644 (file)
@@ -586,7 +586,7 @@ static int pcnet_config(struct pcmcia_device *link)
     }
 
     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;