diff options
Diffstat (limited to 'drivers/net/pcmcia')
-rw-r--r-- | drivers/net/pcmcia/pcnet_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c index 75e68946455e..518b094c9f6d 100644 --- a/drivers/net/pcmcia/pcnet_cs.c +++ b/drivers/net/pcmcia/pcnet_cs.c | |||
@@ -1514,7 +1514,7 @@ static int setup_shmem_window(struct pcmcia_device *link, int start_pg, | |||
1514 | if (i != (TX_PAGES<<8)) { | 1514 | if (i != (TX_PAGES<<8)) { |
1515 | iounmap(info->base); | 1515 | iounmap(info->base); |
1516 | pcmcia_release_window(link, link->win); | 1516 | pcmcia_release_window(link, link->win); |
1517 | info->base = NULL; link->win = NULL; | 1517 | info->base = NULL; link->win = 0; |
1518 | goto failed; | 1518 | goto failed; |
1519 | } | 1519 | } |
1520 | 1520 | ||