aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/smc91c92_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/smc91c92_cs.c')
-rw-r--r--drivers/net/pcmcia/smc91c92_cs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c
index 03b1d8fbe7b7..84e18bbed9d2 100644
--- a/drivers/net/pcmcia/smc91c92_cs.c
+++ b/drivers/net/pcmcia/smc91c92_cs.c
@@ -874,7 +874,6 @@ static int smc91c92_suspend(struct pcmcia_device *p_dev)
874 dev_link_t *link = dev_to_instance(p_dev); 874 dev_link_t *link = dev_to_instance(p_dev);
875 struct net_device *dev = link->priv; 875 struct net_device *dev = link->priv;
876 876
877 link->state |= DEV_SUSPEND;
878 if (link->state & DEV_CONFIG) { 877 if (link->state & DEV_CONFIG) {
879 if (link->open) 878 if (link->open)
880 netif_device_detach(dev); 879 netif_device_detach(dev);
@@ -891,7 +890,6 @@ static int smc91c92_resume(struct pcmcia_device *p_dev)
891 struct smc_private *smc = netdev_priv(dev); 890 struct smc_private *smc = netdev_priv(dev);
892 int i; 891 int i;
893 892
894 link->state &= ~DEV_SUSPEND;
895 if (link->state & DEV_CONFIG) { 893 if (link->state & DEV_CONFIG) {
896 if ((smc->manfid == MANFID_MEGAHERTZ) && 894 if ((smc->manfid == MANFID_MEGAHERTZ) &&
897 (smc->cardid == PRODID_MEGAHERTZ_EM3288)) 895 (smc->cardid == PRODID_MEGAHERTZ_EM3288))