artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b32e61
)
In the resume case we need to check IFF_UP
author
deraadt
<deraadt@openbsd.org>
Sat, 7 Aug 2010 07:08:34 +0000
(07:08 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sat, 7 Aug 2010 07:08:34 +0000
(07:08 +0000)
sys/dev/pci/if_fxp_pci.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/if_fxp_pci.c
b/sys/dev/pci/if_fxp_pci.c
index
051eac8
..
6c7d4a9
100644
(file)
--- 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.5
4 2010/08/07 07:04:35
deraadt Exp $ */
+/* $OpenBSD: if_fxp_pci.c,v 1.5
5 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;