summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-07 07:08:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-07 07:08:35 +0000
commit1f05d3e05e731e9224237df9ac6de017a6dcf9f9 (patch)
tree1d789b9c6a3ffcdc268fae25903d0854057904ee /sys/dev
parent633a7e5b6f893f4dbe64de0c6a62e06f85ef6ee3 (diff)
In the resume case we need to check IFF_UP
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_fxp_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_fxp_pci.c b/sys/dev/pci/if_fxp_pci.c
index 051eac8cfac..6c7d4a9ba3d 100644
--- a/sys/dev/pci/if_fxp_pci.c
+++ b/sys/dev/pci/if_fxp_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fxp_pci.c,v 1.54 2010/08/07 07:04:35 deraadt Exp $ */
+/* $OpenBSD: if_fxp_pci.c,v 1.55 2010/08/07 07:08:34 deraadt Exp $ */
/*
* Copyright (c) 1995, David Greenman
@@ -296,7 +296,7 @@ fxp_pci_activate(struct device *self, int act)
break;
case DVACT_RESUME:
config_activate_children(self, act);
- if (ifp->if_flags & IFF_RUNNING)
+ if (ifp->if_flags & IFF_UP)
workq_queue_task(NULL, &psc->psc_resume_wqt, 0,
fxp_pci_resume, sc, NULL);
break;