summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorCord Walter <qord@cwalter.net>2009-02-04 02:14:05 +0300
committerDavid S. Miller <davem@davemloft.net>2009-02-04 02:14:05 +0300
commita9d3a146923d374b945aa388dc884df69564a818 (patch)
treea01e1faec249543330b905d878dbb92536974b56 /drivers/net
parent67dd82462d553c35bef14de1bf8afcb1095e041d (diff)
downloadlinux-a9d3a146923d374b945aa388dc884df69564a818.tar.xz
pcnet_cs: Fix misuse of the equality operator.
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/pcmcia/pcnet_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c
index c38ed777f0a8..a6999403f37b 100644
--- a/drivers/net/pcmcia/pcnet_cs.c
+++ b/drivers/net/pcmcia/pcnet_cs.c
@@ -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;